Skip to content

Commit 2f0803f

Browse files
committedMar 16, 2025·
feat: implemented moon cheese blocks, logs and leaves
1 parent d5031fc commit 2f0803f

25 files changed

+363
-89
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"variants": {
3+
"": {
4+
"model": "galacticraft:block/moon_cheese_block"
5+
}
6+
}
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"variants": {
3+
"": {
4+
"model": "galacticraft:block/moon_cheese_leaves"
5+
}
6+
}
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"variants": {
3+
"axis=x": {
4+
"model": "galacticraft:block/moon_cheese_log",
5+
"x": 90,
6+
"y": 90
7+
},
8+
"axis=y": {
9+
"model": "galacticraft:block/moon_cheese_log"
10+
},
11+
"axis=z": {
12+
"model": "galacticraft:block/moon_cheese_log",
13+
"x": 90
14+
}
15+
}
16+
}

‎src/main/generated/assets/galacticraft/lang/en_us.json

+3
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@
186186
"block.galacticraft.moon_basalt_slab": "Moon Basalt Slab",
187187
"block.galacticraft.moon_basalt_stairs": "Moon Basalt Stairs",
188188
"block.galacticraft.moon_basalt_wall": "Moon Basalt Wall",
189+
"block.galacticraft.moon_cheese_block": "Moon Cheese Block",
190+
"block.galacticraft.moon_cheese_leaves": "Moon Cheese Leaves",
191+
"block.galacticraft.moon_cheese_log": "Moon Cheese Log",
189192
"block.galacticraft.moon_cheese_ore": "Moon Cheese Ore",
190193
"block.galacticraft.moon_cheese_wheel": "Moon Cheese Wheel",
191194
"block.galacticraft.moon_cheese_wheel.description": "Moon Cheese Wheels are created from the cheeses of the Moon, place-able and edible.",
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parent": "minecraft:block/cube_all",
33
"textures": {
4-
"all": "minecraft:block/moon_cheese_block"
4+
"all": "galacticraft:block/moon_cheese_block"
55
}
66
}
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parent": "minecraft:block/cube_all",
33
"textures": {
4-
"all": "minecraft:block/moon_cheese_leaves"
4+
"all": "galacticraft:block/moon_cheese_leaves"
55
}
66
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"parent": "minecraft:block/cube_column",
3+
"textures": {
4+
"end": "galacticraft:block/moon_cheese_log_top",
5+
"side": "galacticraft:block/moon_cheese_log_side"
6+
}
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"parent": "galacticraft:block/moon_cheese_block"
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"parent": "galacticraft:block/moon_cheese_leaves"
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"parent": "galacticraft:block/moon_cheese_log"
3+
}

‎src/main/generated/data/galacticraft/dimension_type/moon.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
},
1919
"natural": true,
2020
"piglin_safe": false,
21-
"respawn_anchor_works": true,
21+
"respawn_anchor_works": false,
2222
"ultrawarm": false
2323
}

‎src/main/generated/data/galacticraft/dimension_type/venus.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
},
1919
"natural": false,
2020
"piglin_safe": false,
21-
"respawn_anchor_works": true,
21+
"respawn_anchor_works": false,
2222
"ultrawarm": false
2323
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"type": "minecraft:block",
3+
"pools": [
4+
{
5+
"bonus_rolls": 0.0,
6+
"conditions": [
7+
{
8+
"condition": "minecraft:survives_explosion"
9+
}
10+
],
11+
"entries": [
12+
{
13+
"type": "minecraft:item",
14+
"name": "galacticraft:moon_cheese_block"
15+
}
16+
],
17+
"rolls": 1.0
18+
}
19+
]
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"type": "minecraft:block",
3+
"pools": [
4+
{
5+
"bonus_rolls": 0.0,
6+
"conditions": [
7+
{
8+
"condition": "minecraft:survives_explosion"
9+
}
10+
],
11+
"entries": [
12+
{
13+
"type": "minecraft:item",
14+
"name": "galacticraft:moon_cheese_leaves"
15+
}
16+
],
17+
"rolls": 1.0
18+
}
19+
]
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"type": "minecraft:block",
3+
"pools": [
4+
{
5+
"bonus_rolls": 0.0,
6+
"conditions": [
7+
{
8+
"condition": "minecraft:survives_explosion"
9+
}
10+
],
11+
"entries": [
12+
{
13+
"type": "minecraft:item",
14+
"name": "galacticraft:moon_cheese_log"
15+
}
16+
],
17+
"rolls": 1.0
18+
}
19+
]
20+
}

‎src/main/generated/data/galacticraft/oxygen/blocks.json

+154
Original file line numberDiff line numberDiff line change
@@ -1808,5 +1808,159 @@
18081808
"age": "3"
18091809
}
18101810
}
1811+
},
1812+
{
1813+
"amount": 1.0,
1814+
"blockState": {
1815+
"Name": "galacticraft:moon_cheese_leaves",
1816+
"Properties": {
1817+
"distance": "1",
1818+
"persistent": "false",
1819+
"waterlogged": "true"
1820+
}
1821+
}
1822+
},
1823+
{
1824+
"amount": 1.0,
1825+
"blockState": {
1826+
"Name": "galacticraft:moon_cheese_leaves",
1827+
"Properties": {
1828+
"distance": "1",
1829+
"persistent": "false",
1830+
"waterlogged": "false"
1831+
}
1832+
}
1833+
},
1834+
{
1835+
"amount": 1.0,
1836+
"blockState": {
1837+
"Name": "galacticraft:moon_cheese_leaves",
1838+
"Properties": {
1839+
"distance": "2",
1840+
"persistent": "false",
1841+
"waterlogged": "true"
1842+
}
1843+
}
1844+
},
1845+
{
1846+
"amount": 1.0,
1847+
"blockState": {
1848+
"Name": "galacticraft:moon_cheese_leaves",
1849+
"Properties": {
1850+
"distance": "2",
1851+
"persistent": "false",
1852+
"waterlogged": "false"
1853+
}
1854+
}
1855+
},
1856+
{
1857+
"amount": 1.0,
1858+
"blockState": {
1859+
"Name": "galacticraft:moon_cheese_leaves",
1860+
"Properties": {
1861+
"distance": "3",
1862+
"persistent": "false",
1863+
"waterlogged": "true"
1864+
}
1865+
}
1866+
},
1867+
{
1868+
"amount": 1.0,
1869+
"blockState": {
1870+
"Name": "galacticraft:moon_cheese_leaves",
1871+
"Properties": {
1872+
"distance": "3",
1873+
"persistent": "false",
1874+
"waterlogged": "false"
1875+
}
1876+
}
1877+
},
1878+
{
1879+
"amount": 1.0,
1880+
"blockState": {
1881+
"Name": "galacticraft:moon_cheese_leaves",
1882+
"Properties": {
1883+
"distance": "4",
1884+
"persistent": "false",
1885+
"waterlogged": "true"
1886+
}
1887+
}
1888+
},
1889+
{
1890+
"amount": 1.0,
1891+
"blockState": {
1892+
"Name": "galacticraft:moon_cheese_leaves",
1893+
"Properties": {
1894+
"distance": "4",
1895+
"persistent": "false",
1896+
"waterlogged": "false"
1897+
}
1898+
}
1899+
},
1900+
{
1901+
"amount": 1.0,
1902+
"blockState": {
1903+
"Name": "galacticraft:moon_cheese_leaves",
1904+
"Properties": {
1905+
"distance": "5",
1906+
"persistent": "false",
1907+
"waterlogged": "true"
1908+
}
1909+
}
1910+
},
1911+
{
1912+
"amount": 1.0,
1913+
"blockState": {
1914+
"Name": "galacticraft:moon_cheese_leaves",
1915+
"Properties": {
1916+
"distance": "5",
1917+
"persistent": "false",
1918+
"waterlogged": "false"
1919+
}
1920+
}
1921+
},
1922+
{
1923+
"amount": 1.0,
1924+
"blockState": {
1925+
"Name": "galacticraft:moon_cheese_leaves",
1926+
"Properties": {
1927+
"distance": "6",
1928+
"persistent": "false",
1929+
"waterlogged": "true"
1930+
}
1931+
}
1932+
},
1933+
{
1934+
"amount": 1.0,
1935+
"blockState": {
1936+
"Name": "galacticraft:moon_cheese_leaves",
1937+
"Properties": {
1938+
"distance": "6",
1939+
"persistent": "false",
1940+
"waterlogged": "false"
1941+
}
1942+
}
1943+
},
1944+
{
1945+
"amount": 1.0,
1946+
"blockState": {
1947+
"Name": "galacticraft:moon_cheese_leaves",
1948+
"Properties": {
1949+
"distance": "7",
1950+
"persistent": "false",
1951+
"waterlogged": "true"
1952+
}
1953+
}
1954+
},
1955+
{
1956+
"amount": 1.0,
1957+
"blockState": {
1958+
"Name": "galacticraft:moon_cheese_leaves",
1959+
"Properties": {
1960+
"distance": "7",
1961+
"persistent": "false",
1962+
"waterlogged": "false"
1963+
}
1964+
}
18111965
}
18121966
]

‎src/main/java/dev/galacticraft/mod/Constant.java

+4
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ interface Block {
236236
String BOSS_SPAWNER = "boss_spawner";
237237

238238
// Moon Cheese
239+
String MOON_CHEESE_BLOCK = "moon_cheese_block";
240+
String MOON_CHEESE_LOG = "moon_cheese_log";
241+
String MOON_CHEESE_LEAVES = "moon_cheese_leaves";
242+
239243
String MOON_CHEESE_WHEEL = "moon_cheese_wheel";
240244
String CANDLE_MOON_CHEESE_WHEEL = "candle_moon_cheese_wheel";
241245
String WHITE_CANDLE_MOON_CHEESE_WHEEL = "white_candle_moon_cheese_wheel";

‎src/main/java/dev/galacticraft/mod/GalacticraftClient.java

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ public void onInitializeClient() {
152152
BlockRenderLayerMap.INSTANCE.putBlock(GCBlocks.CAVERNOUS_VINES, RenderType.cutout());
153153
BlockRenderLayerMap.INSTANCE.putBlock(GCBlocks.CAVERNOUS_VINES_PLANT, RenderType.cutout());
154154
BlockRenderLayerMap.INSTANCE.putBlock(GCBlocks.OLIVINE_CLUSTER, RenderType.cutout());
155+
BlockRenderLayerMap.INSTANCE.putBlock(GCBlocks.MOON_CHEESE_LEAVES, RenderType.cutoutMipped());
155156
BlockRenderLayerMap.INSTANCE.putBlocks(RenderType.translucent(), GCBlocks.VACUUM_GLASS, GCBlocks.CLEAR_VACUUM_GLASS, GCBlocks.STRONG_VACUUM_GLASS);
156157
BlockRenderLayerMap.INSTANCE.putBlocks(RenderType.translucent(), GCBlocks.CRYOGENIC_CHAMBER, GCBlocks.CRYOGENIC_CHAMBER_PART, GCBlocks.PLAYER_TRANSPORT_TUBE);
157158

0 commit comments

Comments
 (0)
Please sign in to comment.