From c136adebd0ae27a3b3baeaf7d4b55f1e74c0e08b Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 19 May 2020 12:00:31 +0200 Subject: [PATCH] Added marble blocks --- .../unicopia/block/UBlocks.java | 14 +++++++++++ .../minelittlepony/unicopia/item/UItems.java | 4 +++ .../blockstates/chiseled_marble_block.json | 5 ++++ .../blockstates/smooth_marble_block.json | 5 ++++ .../blockstates/smooth_marble_slab.json | 7 ++++++ .../resources/assets/unicopia/lang/en_us.json | 4 +++ .../models/block/chiseled_marble_block.json | 7 ++++++ .../models/block/smooth_marble_block.json | 6 +++++ .../models/block/smooth_marble_slab.json | 8 ++++++ .../models/block/smooth_marble_slab_top.json | 8 ++++++ .../models/item/chiseled_marble_block.json | 10 ++++++++ .../models/item/smooth_marble_block.json | 10 ++++++++ .../models/item/smooth_marble_slab.json | 10 ++++++++ .../blocks/chiseled_marble_block_side.png | Bin 0 -> 3142 bytes .../textures/blocks/smooth_marble_block.png | Bin 0 -> 2912 bytes .../data/minecraft/tags/blocks/slabs.json | 3 ++- .../blocks/chiseled_marble_block.json | 23 ++++++++++++++++++ .../blocks/smooth_marble_block.json | 23 ++++++++++++++++++ .../blocks/smooth_marble_slab.json | 23 ++++++++++++++++++ .../recipes/chiseled_marble_block.json | 13 ++++++++++ .../unicopia/recipes/smooth_marble_block.json | 14 +++++++++++ .../unicopia/recipes/smooth_marble_slab.json | 13 ++++++++++ 22 files changed, 209 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/assets/unicopia/blockstates/chiseled_marble_block.json create mode 100644 src/main/resources/assets/unicopia/blockstates/smooth_marble_block.json create mode 100644 src/main/resources/assets/unicopia/blockstates/smooth_marble_slab.json create mode 100644 src/main/resources/assets/unicopia/models/block/chiseled_marble_block.json create mode 100644 src/main/resources/assets/unicopia/models/block/smooth_marble_block.json create mode 100644 src/main/resources/assets/unicopia/models/block/smooth_marble_slab.json create mode 100644 src/main/resources/assets/unicopia/models/block/smooth_marble_slab_top.json create mode 100644 src/main/resources/assets/unicopia/models/item/chiseled_marble_block.json create mode 100644 src/main/resources/assets/unicopia/models/item/smooth_marble_block.json create mode 100644 src/main/resources/assets/unicopia/models/item/smooth_marble_slab.json create mode 100644 src/main/resources/assets/unicopia/textures/blocks/chiseled_marble_block_side.png create mode 100644 src/main/resources/assets/unicopia/textures/blocks/smooth_marble_block.png create mode 100644 src/main/resources/data/unicopia/loot_tables/blocks/chiseled_marble_block.json create mode 100644 src/main/resources/data/unicopia/loot_tables/blocks/smooth_marble_block.json create mode 100644 src/main/resources/data/unicopia/loot_tables/blocks/smooth_marble_slab.json create mode 100644 src/main/resources/data/unicopia/recipes/chiseled_marble_block.json create mode 100644 src/main/resources/data/unicopia/recipes/smooth_marble_block.json create mode 100644 src/main/resources/data/unicopia/recipes/smooth_marble_slab.json diff --git a/src/main/java/com/minelittlepony/unicopia/block/UBlocks.java b/src/main/java/com/minelittlepony/unicopia/block/UBlocks.java index 45f58d7b..13731a82 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/UBlocks.java +++ b/src/main/java/com/minelittlepony/unicopia/block/UBlocks.java @@ -23,6 +23,7 @@ import net.minecraft.block.FallingBlock; import net.minecraft.block.Material; import net.minecraft.block.MaterialColor; import net.minecraft.block.SaplingBlock; +import net.minecraft.block.SlabBlock; import net.minecraft.item.ItemStack; import net.minecraft.sound.BlockSoundGroup; import net.minecraft.util.Identifier; @@ -136,6 +137,19 @@ public interface UBlocks { .nonOpaque() .build())); + Block SMOOTH_MARBLE_BLOCK = register("smooth_marble_block", new Block(FabricBlockSettings.of(Material.STONE) + .strength(0.7F, 10) + .breakByTool(FabricToolTags.PICKAXES) + .build())); + Block CHISELED_MARBLE_BLOCK = register("chiseled_marble_block", new Block(FabricBlockSettings.of(Material.STONE) + .strength(0.8F, 10) + .breakByTool(FabricToolTags.PICKAXES) + .build())); + Block SMOOTH_MARBLE_SLAB = register("smooth_marble_slab", new SlabBlock(FabricBlockSettings.of(Material.STONE) + .strength(0.7F, 10) + .breakByTool(FabricToolTags.PICKAXES) + .build())); + Block SUGAR_BLOCK = register("sugar_block", new FallingBlock(FabricBlockSettings.of(Material.SAND) .strength(10, 10) .hardness(0.7F) diff --git a/src/main/java/com/minelittlepony/unicopia/item/UItems.java b/src/main/java/com/minelittlepony/unicopia/item/UItems.java index 8ed613e9..f20a1fb2 100644 --- a/src/main/java/com/minelittlepony/unicopia/item/UItems.java +++ b/src/main/java/com/minelittlepony/unicopia/item/UItems.java @@ -77,6 +77,10 @@ public interface UItems { Item SUGAR_BLOCK = register("sugar_block", new BlockItem(UBlocks.SUGAR_BLOCK, new Settings().group(ItemGroup.BUILDING_BLOCKS))); + Item SMOOTH_MARBLE_BLOCK = register("smooth_marble_block", new BlockItem(UBlocks.SMOOTH_MARBLE_BLOCK, new Settings().group(ItemGroup.BUILDING_BLOCKS))); + Item CHISELED_MARBLE_BLOCK = register("chiseled_marble_block", new BlockItem(UBlocks.CHISELED_MARBLE_BLOCK, new Settings().group(ItemGroup.BUILDING_BLOCKS))); + Item SMOOTH_MARBLE_SLAB = register("smooth_marble_slab", new BlockItem(UBlocks.SMOOTH_MARBLE_SLAB, new Settings().group(ItemGroup.BUILDING_BLOCKS))); + Item CLOUD_SLAB = register("cloud_slab", new PredicatedBlockItem(UBlocks.CLOUD_SLAB, new Settings().group(ItemGroup.BUILDING_BLOCKS), PLAYER_PEGASUS)); Item ENCHANTED_CLOUD_SLAB = register("enchanted_cloud_slab", new PredicatedBlockItem(UBlocks.ENCHANTED_CLOUD_SLAB, new Settings().group(ItemGroup.BUILDING_BLOCKS), PLAYER_PEGASUS)); Item DENSE_CLOUD_SLAB = register("dense_cloud_slab", new PredicatedBlockItem(UBlocks.DENSE_CLOUD_SLAB, new Settings().group(ItemGroup.BUILDING_BLOCKS), PLAYER_PEGASUS)); diff --git a/src/main/resources/assets/unicopia/blockstates/chiseled_marble_block.json b/src/main/resources/assets/unicopia/blockstates/chiseled_marble_block.json new file mode 100644 index 00000000..55f4e052 --- /dev/null +++ b/src/main/resources/assets/unicopia/blockstates/chiseled_marble_block.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "unicopia:block/chiseled_marble_block" } + } +} diff --git a/src/main/resources/assets/unicopia/blockstates/smooth_marble_block.json b/src/main/resources/assets/unicopia/blockstates/smooth_marble_block.json new file mode 100644 index 00000000..f948d99b --- /dev/null +++ b/src/main/resources/assets/unicopia/blockstates/smooth_marble_block.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "unicopia:block/smooth_marble_block" } + } +} diff --git a/src/main/resources/assets/unicopia/blockstates/smooth_marble_slab.json b/src/main/resources/assets/unicopia/blockstates/smooth_marble_slab.json new file mode 100644 index 00000000..b7c9e048 --- /dev/null +++ b/src/main/resources/assets/unicopia/blockstates/smooth_marble_slab.json @@ -0,0 +1,7 @@ +{ + "variants": { + "type=bottom": { "model": "unicopia:block/smooth_marble_slab" }, + "type=top": { "model": "unicopia:block/smooth_marble_slab_top" }, + "type=double": { "model": "unicopia:block/smooth_marble_block" } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/unicopia/lang/en_us.json b/src/main/resources/assets/unicopia/lang/en_us.json index 8f11e974..29830c89 100644 --- a/src/main/resources/assets/unicopia/lang/en_us.json +++ b/src/main/resources/assets/unicopia/lang/en_us.json @@ -24,6 +24,10 @@ "block.unicopia.slime_drop": "Slime Droplet", "block.unicopia.slime_layer": "Slime", + "block.unicopia.chiseled_marble_block": "Chiseled Marble Block", + "block.unicopia.smooth_marble_block": "Smooth Marble Block", + "block.unicopia.smooth_marble_slab": "Smooth Marble Slab", + "block.unicopia.apple_leaves": "Apple Leaves", "block.unicopia.apple_sapling": "Apple Seeds", diff --git a/src/main/resources/assets/unicopia/models/block/chiseled_marble_block.json b/src/main/resources/assets/unicopia/models/block/chiseled_marble_block.json new file mode 100644 index 00000000..155c6ad4 --- /dev/null +++ b/src/main/resources/assets/unicopia/models/block/chiseled_marble_block.json @@ -0,0 +1,7 @@ +{ + "parent": "block/cube_column", + "textures": { + "end": "unicopia:blocks/smooth_marble_block", + "side": "unicopia:blocks/chiseled_marble_block_side" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/unicopia/models/block/smooth_marble_block.json b/src/main/resources/assets/unicopia/models/block/smooth_marble_block.json new file mode 100644 index 00000000..ff4864c2 --- /dev/null +++ b/src/main/resources/assets/unicopia/models/block/smooth_marble_block.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "unicopia:blocks/smooth_marble_block" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/unicopia/models/block/smooth_marble_slab.json b/src/main/resources/assets/unicopia/models/block/smooth_marble_slab.json new file mode 100644 index 00000000..b36d5b16 --- /dev/null +++ b/src/main/resources/assets/unicopia/models/block/smooth_marble_slab.json @@ -0,0 +1,8 @@ +{ + "parent": "block/slab", + "textures": { + "bottom": "unicopia:blocks/smooth_marble_block", + "top": "unicopia:blocks/smooth_marble_block", + "side": "unicopia:blocks/smooth_marble_block" + } +} diff --git a/src/main/resources/assets/unicopia/models/block/smooth_marble_slab_top.json b/src/main/resources/assets/unicopia/models/block/smooth_marble_slab_top.json new file mode 100644 index 00000000..30c6419e --- /dev/null +++ b/src/main/resources/assets/unicopia/models/block/smooth_marble_slab_top.json @@ -0,0 +1,8 @@ +{ + "parent": "block/slab_top", + "textures": { + "bottom": "unicopia:blocks/smooth_marble_block", + "top": "unicopia:blocks/smooth_marble_block", + "side": "unicopia:blocks/smooth_marble_block" + } +} diff --git a/src/main/resources/assets/unicopia/models/item/chiseled_marble_block.json b/src/main/resources/assets/unicopia/models/item/chiseled_marble_block.json new file mode 100644 index 00000000..093b18b0 --- /dev/null +++ b/src/main/resources/assets/unicopia/models/item/chiseled_marble_block.json @@ -0,0 +1,10 @@ +{ + "parent": "unicopia:block/chiseled_marble_block", + "display": { + "thirdperson": { + "rotation": [ 10, -45, 170 ], + "translation": [ 0, 1.5, -2.75 ], + "scale": [ 0.375, 0.375, 0.375 ] + } + } +} diff --git a/src/main/resources/assets/unicopia/models/item/smooth_marble_block.json b/src/main/resources/assets/unicopia/models/item/smooth_marble_block.json new file mode 100644 index 00000000..544dca6a --- /dev/null +++ b/src/main/resources/assets/unicopia/models/item/smooth_marble_block.json @@ -0,0 +1,10 @@ +{ + "parent": "unicopia:block/smooth_marble_block", + "display": { + "thirdperson": { + "rotation": [ 10, -45, 170 ], + "translation": [ 0, 1.5, -2.75 ], + "scale": [ 0.375, 0.375, 0.375 ] + } + } +} diff --git a/src/main/resources/assets/unicopia/models/item/smooth_marble_slab.json b/src/main/resources/assets/unicopia/models/item/smooth_marble_slab.json new file mode 100644 index 00000000..bc670293 --- /dev/null +++ b/src/main/resources/assets/unicopia/models/item/smooth_marble_slab.json @@ -0,0 +1,10 @@ +{ + "parent": "unicopia:block/smooth_marble_slab", + "display": { + "thirdperson": { + "rotation": [ 10, -45, 170 ], + "translation": [ 0, 1.5, -2.75 ], + "scale": [ 0.375, 0.375, 0.375 ] + } + } +} diff --git a/src/main/resources/assets/unicopia/textures/blocks/chiseled_marble_block_side.png b/src/main/resources/assets/unicopia/textures/blocks/chiseled_marble_block_side.png new file mode 100644 index 0000000000000000000000000000000000000000..81a10ff48b59b339b5b01ce392c9317764a73e14 GIT binary patch literal 3142 zcmV-M47u}(P)uJ@VVD_UC<6{NG_fI~0ue<-1QkJoA_k0xBC#Thg@9ne9*`iQ#9$Or zQF$}6R&?d%y_c8YA7_1QpS|}zXYYO1x&V;8{kgn!SPFnNo`4_X6{c}T{8k*B#$jdxfFg<9uYy1K45IaYvHg`_dOZM)Sy63ve6hvv z1)yUy0P^?0*fb9UASvow`@mQCp^4`uNg&9uGcn1|&Nk+9SjOUl{-OWr@Hh0;_l(8q z{wNRKos+;6rV8ldy0Owz(}jF`W(JeRp&R{qi2rfmU!TJ;gp(Kmm5I1s5m_f-n#TRsj}B0%?E`vOzxB2#P=n*a3EfYETOrKoe*ICqM@{4K9Go;5xVgZi5G4 z1dM~{UdP6d+Yd3o?MrAqM0Kc|i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agVqoG+9++s?NEDe`%Fht$4F;X=in*dQ{7$m zU2Q)a|9JSc+Uc4zvS-T963!N$T{xF_ZuWe}`RNOZ7sk3{yB}PPym+f8xTpV;-=!;; zJuhGEb?H5K#o@~7t9DmUU1MD9xNd#Dz0azz?I)|B+WM{g+Xrk0I&awC=o(x)cy`EX z=)z6+o0o6-+`4{y+3mqQ%kSJBju{@g%f35#FZJHb`&swrA8dGtepviS>QUumrN{L@ z>;2q1Vm)$Z)P1z?N$8UYW2~{~zhwUMVZ87u`Dx{Z>O|9|`Q+&->FRy-Sjp7DHs zy69KwU-!MxeeuI@&cF4|M9z%AfP?@5 z`Tzg`fam}Kbua(`>RI+y?e7jT@qQ9J+u0gFjQK~y-)ozKlr6Hyd~@n2 z0f})VVkAa1BAS?x_y@aj3Ak)+Vswmv1|ckrf)3aYwXM_nICpwo4e3nT)YZu^&$~I+ zo3|~qv~ZI_&}ZJc#%ZU+G{*1tjA(8AZqJB_xym|Cb9cO3dxytn5cIk3)cJYtaeL_& zMfduDxKW>@bJ1pDelgeW2P=0l#_-#}K(uCBtETG`#R*C&0Gh4~kaMw*TZxRQR?2)n zI_A;+6+}j)X_|A^AKqK0xK{w({s4e5iUBzHyE$iFrz0lzC*GOaZnR7yV&Wt*(^_S} z#EH=O;4-znwoefL<>=dYHlMEJwSB^Zv;Ok=Gm3j_yU{Y68|$<_eqtC6sa0#dc=DKc zyZe{UdO8wjREhCDiHLcYlu!L+2vffhfzo(f^FL`1eivR!s literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/unicopia/textures/blocks/smooth_marble_block.png b/src/main/resources/assets/unicopia/textures/blocks/smooth_marble_block.png new file mode 100644 index 0000000000000000000000000000000000000000..fd1035caa67a54f4c231d493f898c9f43e853544 GIT binary patch literal 2912 zcmV-m3!n6fP)uJ@VVD_UC<6{NG_fI~0ue<-1QkJoA_k0xBC#Thg@9ne9*`iQ#9$Or zQF$}6R&?d%y_c8YA7_1QpS|}zXYYO1x&V;8{kgn!SPF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h17`D)-+sNT-qs~3@?S(ldh7UlRlVXkWrK|vf6I- z?$tAVKYn8-l({mqQ$Q8{O!WzMg`0(=S&msXS#Pt$vrpzo=kRj+a`kh!z=6$;c zwT88(J6|n-WB%w`m$h~4pmp)YIh_ z3ETV2tjiAU!0h1dxU-n=E9e!)6|Z;4?!H=SSy{V>ut&IOq{_dl zbFb#!9eY1iCsp6Bajj|Hr?hX|zPbJE{X++w546-O*Ot`2Kgd0Jx6Z4syT zu9enWavU5N9)I?I-1m1*_?_rJ$vD~agVqoG+9++s?NEDe`%Fht$4F;X=in*dQ{7$m zU2Q)a|9JSc+Uc4zvS-T963!N$T{xF_ZuWe}`RNOZ7sk3{yB}PPym+f8xTpV;-=!;; zJuhGEb?H5K#o@~7t9DmUU1MD9xNd#Dz0azz?I)|B+WM{g+Xrk0I&awC=o(x)cy`EX z=)z6+o0o6-+`4{y+3mqQ%kSJBju{@g%f35#FZJHb`&swrA8dGtepviS>QUumrN{L@ z>;2q1Vm)$Z)P1z?N$8UYW2~{~zhwUMVZ87u`Dx{Z>O|9|`Q+&->FRy-Sjp7DHs zy69KwU-!MxeeuI@&cF4|M9z%AfP?@5 z`Tzg`fam}Kbua(`>RI+y?e7jT@qQ9J+u0HsMpK~y-)#gjV{!Y~X4*N&X;{g25o z6efu!+Z511(l9QfZfC3aB)QxDQMY|%943 literal 0 HcmV?d00001 diff --git a/src/main/resources/data/minecraft/tags/blocks/slabs.json b/src/main/resources/data/minecraft/tags/blocks/slabs.json index 8d5b81d5..bed20181 100644 --- a/src/main/resources/data/minecraft/tags/blocks/slabs.json +++ b/src/main/resources/data/minecraft/tags/blocks/slabs.json @@ -3,6 +3,7 @@ "values": [ "unicopia:cloud_slab", "unicopia:enchanted_cloud_slab", - "unicopia:dense_cloud_slab" + "unicopia:dense_cloud_slab", + "unicopia:smooth_marble_slab" ] } \ No newline at end of file diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/chiseled_marble_block.json b/src/main/resources/data/unicopia/loot_tables/blocks/chiseled_marble_block.json new file mode 100644 index 00000000..19a2a319 --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/chiseled_marble_block.json @@ -0,0 +1,23 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "unicopia:smooth_marble_block", + "functions": [ + { + "function": "minecraft:set_count", + "count": 6 + }, + { + "function": "minecraft:explosion_decay" + } + ] + } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/smooth_marble_block.json b/src/main/resources/data/unicopia/loot_tables/blocks/smooth_marble_block.json new file mode 100644 index 00000000..b2fcc859 --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/smooth_marble_block.json @@ -0,0 +1,23 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "unicopia:gem", + "functions": [ + { + "function": "minecraft:set_count", + "count": 9 + }, + { + "function": "minecraft:explosion_decay" + } + ] + } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/smooth_marble_slab.json b/src/main/resources/data/unicopia/loot_tables/blocks/smooth_marble_slab.json new file mode 100644 index 00000000..5aab06f0 --- /dev/null +++ b/src/main/resources/data/unicopia/loot_tables/blocks/smooth_marble_slab.json @@ -0,0 +1,23 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "unicopia:gem", + "functions": [ + { + "function": "minecraft:set_count", + "count": 3 + }, + { + "function": "minecraft:explosion_decay" + } + ] + } + ] + } + ] +} diff --git a/src/main/resources/data/unicopia/recipes/chiseled_marble_block.json b/src/main/resources/data/unicopia/recipes/chiseled_marble_block.json new file mode 100644 index 00000000..241824a0 --- /dev/null +++ b/src/main/resources/data/unicopia/recipes/chiseled_marble_block.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "SSS", + "SSS" + ], + "key": { + "S": [ + { "item": "unicopia:smooth_marble_block" } + ] + }, + "result": { "item": "unicopia:chiseled_marble_block" } +} diff --git a/src/main/resources/data/unicopia/recipes/smooth_marble_block.json b/src/main/resources/data/unicopia/recipes/smooth_marble_block.json new file mode 100644 index 00000000..1ce9de81 --- /dev/null +++ b/src/main/resources/data/unicopia/recipes/smooth_marble_block.json @@ -0,0 +1,14 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "SSS", + "SSS", + "SSS" + ], + "key": { + "S": [ + { "item": "unicopia:gem" } + ] + }, + "result": { "item": "unicopia:smooth_marble_block" } +} diff --git a/src/main/resources/data/unicopia/recipes/smooth_marble_slab.json b/src/main/resources/data/unicopia/recipes/smooth_marble_slab.json new file mode 100644 index 00000000..0a31a65d --- /dev/null +++ b/src/main/resources/data/unicopia/recipes/smooth_marble_slab.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "SSS", + "SSS" + ], + "key": { + "S": [ + { "item": "unicopia:gem" } + ] + }, + "result": { "item": "unicopia:smooth_marble_slab", "count": 2 } +}