updated dimension marker for the beneath, new ones for other planets

This commit is contained in:
Pyritie 2025-06-17 01:01:33 +01:00
parent 3148d3ad66
commit a96bbf2b12
21 changed files with 233 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 B

View file

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "tfg:block/marker/mars"
}
}
}

View file

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "tfg:block/marker/mercury"
}
}
}

View file

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "tfg:block/marker/moon"
}
}
}

View file

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "tfg:block/marker/venus"
}
}
}

View file

@ -0,0 +1,42 @@
{
"credit": "Made with Blockbench",
"parent": "minecraft:block/cube",
"gui_light": "front",
"textures": {
"0": "ad_astra:block/globe/mars_globe",
"particle": "#0"
},
"elements": [
{
"from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"north": {
"uv": [ 3.75, 3.75, 7.5, 7.5 ],
"texture": "#0"
},
"east": {
"uv": [ 0, 3.75, 3.75, 7.5 ],
"texture": "#0"
},
"south": {
"uv": [ 11.25, 3.75, 15, 7.5 ],
"texture": "#0"
},
"west": {
"uv": [ 7.5, 3.75, 11.25, 7.5 ],
"texture": "#0"
},
"up": {
"uv": [ 7.5, 3.75, 3.75, 0 ],
"texture": "#0"
},
"down": {
"uv": [ 3.75, 7.5, 0, 11.25 ],
"texture": "#0"
}
}
}
],
"display": {}
}

View file

@ -0,0 +1,42 @@
{
"credit": "Made with Blockbench",
"parent": "minecraft:block/cube",
"gui_light": "front",
"textures": {
"0": "ad_astra:block/globe/mercury_globe",
"particle": "#0"
},
"elements": [
{
"from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"north": {
"uv": [ 3.75, 3.75, 7.5, 7.5 ],
"texture": "#0"
},
"east": {
"uv": [ 0, 3.75, 3.75, 7.5 ],
"texture": "#0"
},
"south": {
"uv": [ 11.25, 3.75, 15, 7.5 ],
"texture": "#0"
},
"west": {
"uv": [ 7.5, 3.75, 11.25, 7.5 ],
"texture": "#0"
},
"up": {
"uv": [ 7.5, 3.75, 3.75, 0 ],
"texture": "#0"
},
"down": {
"uv": [ 3.75, 7.5, 0, 11.25 ],
"texture": "#0"
}
}
}
],
"display": {}
}

View file

@ -0,0 +1,22 @@
{
"credit": "Made with Blockbench",
"textures": {
"0": "moon_globe",
"particle": "moon_globe"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [3.75, 3.75, 7.5, 7.5], "texture": "#0"},
"east": {"uv": [0, 3.75, 3.75, 7.5], "texture": "#0"},
"south": {"uv": [11.25, 3.75, 15, 7.5], "texture": "#0"},
"west": {"uv": [7.5, 3.75, 11.25, 7.5], "texture": "#0"},
"up": {"uv": [7.5, 3.75, 3.75, 0], "texture": "#0"},
"down": {"uv": [3.75, 7.5, 0, 11.25], "texture": "#0"}
}
}
],
"display": {}
}

View file

@ -0,0 +1,42 @@
{
"credit": "Made with Blockbench",
"parent": "minecraft:block/cube",
"gui_light": "front",
"textures": {
"0": "ad_astra:block/globe/venus_globe",
"particle": "#0"
},
"elements": [
{
"from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"north": {
"uv": [ 3.75, 3.75, 7.5, 7.5 ],
"texture": "#0"
},
"east": {
"uv": [ 0, 3.75, 3.75, 7.5 ],
"texture": "#0"
},
"south": {
"uv": [ 11.25, 3.75, 15, 7.5 ],
"texture": "#0"
},
"west": {
"uv": [ 7.5, 3.75, 11.25, 7.5 ],
"texture": "#0"
},
"up": {
"uv": [ 7.5, 3.75, 3.75, 0 ],
"texture": "#0"
},
"down": {
"uv": [ 3.75, 7.5, 0, 11.25 ],
"texture": "#0"
}
}
}
],
"display": {}
}

View file

@ -0,0 +1,3 @@
{
"parent": "tfg:block/marker/mars"
}

View file

@ -0,0 +1,3 @@
{
"parent": "tfg:block/marker/mercury"
}

View file

@ -0,0 +1,3 @@
{
"parent": "tfg:block/marker/moon"
}

View file

@ -0,0 +1,3 @@
{
"parent": "tfg:block/marker/venus"
}

View file

@ -84,7 +84,7 @@ GTCEuStartupEvents.materialModification(event => {
GTCEuStartupEvents.registry('gtceu:dimension_marker', event => {
registerAdAstraDimensionMarkers(event)
registerTFGDimensionMarkers(event)
})

View file

@ -1,5 +1,43 @@
function registerTFGSpaceBlocks(event) {
// Dimension markers
event.create('tfg:marker/moon')
.stoneSoundType()
.item(item => {
item.modelJson({ parent: 'tfg:block/marker/moon' })
})
.tagBlock('minecraft:mineable/pickaxe')
.fullBlock(true)
.opaque(true)
event.create('tfg:marker/mars')
.stoneSoundType()
.item(item => {
item.modelJson({ parent: 'tfg:block/marker/mars' })
})
.tagBlock('minecraft:mineable/pickaxe')
.fullBlock(true)
.opaque(true)
event.create('tfg:marker/venus')
.stoneSoundType()
.item(item => {
item.modelJson({ parent: 'tfg:block/marker/venus' })
})
.tagBlock('minecraft:mineable/pickaxe')
.fullBlock(true)
.opaque(true)
event.create('tfg:marker/mercury')
.stoneSoundType()
.item(item => {
item.modelJson({ parent: 'tfg:block/marker/mercury' })
})
.tagBlock('minecraft:mineable/pickaxe')
.fullBlock(true)
.opaque(true)
// Hardened stones
event.create('tfg:rock/hardened_moon_stone')

View file

@ -1,29 +1,30 @@
// priority: 0
function registerAdAstraDimensionMarkers(event) {
function registerTFGDimensionMarkers(event) {
// TODO
event.create('ad_astra:earth_orbit')
.iconSupplier(() => Item.of('ad_astra:earth_globe').getItem())
.tier(1)
.overrideName('Earth Orbit')
event.create('ad_astra:moon')
.iconSupplier(() => Item.of('ad_astra:moon_globe').getItem())
.iconSupplier(() => Item.of('tfg:marker/moon').getItem())
.tier(1)
.overrideName('The Moon')
event.create('ad_astra:mars')
.iconSupplier(() => Item.of('ad_astra:mars_globe').getItem())
.iconSupplier(() => Item.of('tfg:marker/mars').getItem())
.tier(2)
.overrideName('Mars')
event.create('ad_astra:venus')
.iconSupplier(() => Item.of('ad_astra:venus_globe').getItem())
.iconSupplier(() => Item.of('tfg:marker/venus').getItem())
.tier(3)
.overrideName('Venus')
event.create('ad_astra:mercury')
.iconSupplier(() => Item.of('ad_astra:mercury_globe').getItem())
.iconSupplier(() => Item.of('tfg:marker/mercury').getItem())
.tier(3)
.overrideName('Mercury')
}