From 98caab43043104426944f31e4c534004cfdb3960 Mon Sep 17 00:00:00 2001 From: Maxx <53229958+MBatt1@users.noreply.github.com> Date: Sun, 14 Apr 2024 16:39:00 -0500 Subject: [PATCH] nitra plant + loot tables and recipes --- .../blocks/ParadiseLostBlocks.java | 3 + .../blocks/mechanical/NitraBlock.java | 11 +++ .../items/ParadiseLostItemActions.java | 1 + .../paradiselost/items/ParadiseLostItems.java | 2 + src/main/resources/asset_helper.py | 6 +- .../paradise_lost/blockstates/nitra.json | 28 +++++++ .../blockstates/nitra_bunch.json | 7 ++ .../assets/paradise_lost/lang/en_us.json | 2 + .../models/block/cross_crop.json | 26 ++++++ .../models/block/nitra_bunch.json | 8 ++ .../models/block/nitra_stage0.json | 6 ++ .../models/block/nitra_stage1.json | 6 ++ .../models/block/nitra_stage2.json | 6 ++ .../models/block/nitra_stage3.json | 6 ++ .../paradise_lost/models/item/nitra.json | 6 ++ .../models/item/nitra_bunch.json | 3 + .../textures/block/nitra_bunch_bottom.png | Bin 0 -> 364 bytes .../textures/block/nitra_bunch_side.png | Bin 0 -> 363 bytes .../textures/block/nitra_bunch_top.png | Bin 0 -> 477 bytes .../textures/block/nitra_stage0.png | Bin 0 -> 241 bytes .../textures/block/nitra_stage1.png | Bin 0 -> 278 bytes .../textures/block/nitra_stage2.png | Bin 0 -> 330 bytes .../textures/block/nitra_stage3.png | Bin 0 -> 338 bytes .../paradise_lost/textures/item/nitra.png | Bin 0 -> 334 bytes .../loot_tables/blocks/nitra.json | 75 ++++++++++++++++++ .../loot_tables/blocks/nitra_bunch.json | 20 +++++ .../data/paradise_lost/recipes/nitra.json | 12 +++ .../paradise_lost/recipes/nitra_bunch.json | 15 ++++ 28 files changed, 245 insertions(+), 4 deletions(-) create mode 100644 src/main/java/net/id/paradiselost/blocks/mechanical/NitraBlock.java create mode 100644 src/main/resources/assets/paradise_lost/blockstates/nitra.json create mode 100644 src/main/resources/assets/paradise_lost/blockstates/nitra_bunch.json create mode 100644 src/main/resources/assets/paradise_lost/models/block/cross_crop.json create mode 100644 src/main/resources/assets/paradise_lost/models/block/nitra_bunch.json create mode 100644 src/main/resources/assets/paradise_lost/models/block/nitra_stage0.json create mode 100644 src/main/resources/assets/paradise_lost/models/block/nitra_stage1.json create mode 100644 src/main/resources/assets/paradise_lost/models/block/nitra_stage2.json create mode 100644 src/main/resources/assets/paradise_lost/models/block/nitra_stage3.json create mode 100644 src/main/resources/assets/paradise_lost/models/item/nitra.json create mode 100644 src/main/resources/assets/paradise_lost/models/item/nitra_bunch.json create mode 100644 src/main/resources/assets/paradise_lost/textures/block/nitra_bunch_bottom.png create mode 100644 src/main/resources/assets/paradise_lost/textures/block/nitra_bunch_side.png create mode 100644 src/main/resources/assets/paradise_lost/textures/block/nitra_bunch_top.png create mode 100644 src/main/resources/assets/paradise_lost/textures/block/nitra_stage0.png create mode 100644 src/main/resources/assets/paradise_lost/textures/block/nitra_stage1.png create mode 100644 src/main/resources/assets/paradise_lost/textures/block/nitra_stage2.png create mode 100644 src/main/resources/assets/paradise_lost/textures/block/nitra_stage3.png create mode 100644 src/main/resources/assets/paradise_lost/textures/item/nitra.png create mode 100644 src/main/resources/data/paradise_lost/loot_tables/blocks/nitra.json create mode 100644 src/main/resources/data/paradise_lost/loot_tables/blocks/nitra_bunch.json create mode 100644 src/main/resources/data/paradise_lost/recipes/nitra.json create mode 100644 src/main/resources/data/paradise_lost/recipes/nitra_bunch.json diff --git a/src/main/java/net/id/paradiselost/blocks/ParadiseLostBlocks.java b/src/main/java/net/id/paradiselost/blocks/ParadiseLostBlocks.java index 044dead3c..0c0716378 100644 --- a/src/main/java/net/id/paradiselost/blocks/ParadiseLostBlocks.java +++ b/src/main/java/net/id/paradiselost/blocks/ParadiseLostBlocks.java @@ -9,6 +9,7 @@ import net.id.paradiselost.blocks.mechanical.FoodBowlBlock; import net.id.paradiselost.blocks.mechanical.FourBiteCakeBlock; import net.id.paradiselost.blocks.mechanical.IncubatorBlock; +import net.id.paradiselost.blocks.mechanical.NitraBlock; import net.id.paradiselost.blocks.mechanical.TreeTapBlock; import net.id.paradiselost.blocks.natural.ParadiseLostGrassBlock; import net.id.paradiselost.blocks.natural.ParadiseLostSaplingBlock; @@ -335,6 +336,7 @@ private static Settings lichen() { public static final AmadrysCropBlock AMADRYS = add("amadrys", new AmadrysCropBlock(crop().mapColor(MapColor.PINK)), flammablePlant, cutoutMippedRenderLayer); public static final FlaxCropBlock FLAX = add("flax", new FlaxCropBlock(crop().mapColor(MapColor.OAK_TAN)), flammablePlant, cutoutRenderLayer); public static final SwedrootCropBlock SWEDROOT = add("swedroot", new SwedrootCropBlock(shrub().mapColor(MapColor.BLUE)), flammablePlant, cutoutRenderLayer); + public static final CropBlock NITRA = add("nitra", new CropBlock(crop().mapColor(MapColor.PALE_YELLOW)), flammablePlant, cutoutMippedRenderLayer); public static final Block FLAXWEAVE_CUSHION = add("flaxweave_cushion", new FlaxweaveCushionBlock(Settings.of(Material.WOOL).mapColor(MapColor.YELLOW).sounds(BlockSoundGroup.WOOL).strength(0.2F)), flammable(40, 10)); @@ -392,6 +394,7 @@ private static Settings cherineTorch() { public static final IncubatorBlock INCUBATOR = add("incubator", new IncubatorBlock(of(Material.WOOD, MapColor.DULL_RED).strength(2.5f).sounds(BlockSoundGroup.WOOD).nonOpaque()), cutoutMippedRenderLayer); public static final FoodBowlBlock FOOD_BOWL = add("food_bowl", new FoodBowlBlock(of(Material.WOOD, MapColor.DULL_RED).strength(2.5f).sounds(BlockSoundGroup.WOOD).nonOpaque()), cutoutMippedRenderLayer); public static final Block TREE_TAP = add("tree_tap", new TreeTapBlock(of(Material.WOOD, MapColor.OAK_TAN).strength(2.5f).sounds(BlockSoundGroup.WOOD).nonOpaque().ticksRandomly()), cutoutRenderLayer); + public static final NitraBlock NITRA_BUNCH = add("nitra_bunch", new NitraBlock(of(Material.PLANT, MapColor.PALE_YELLOW).strength(0.5f).sounds(BlockSoundGroup.WET_GRASS))); //dungeon // public static final DungeonSwitchBlock DUNGEON_SWITCH = add("dungeonswitch", new DungeonSwitchBlock(of(Material.METAL, MapColor.BLUE).strength(-1.0F, 3600000.0F))); diff --git a/src/main/java/net/id/paradiselost/blocks/mechanical/NitraBlock.java b/src/main/java/net/id/paradiselost/blocks/mechanical/NitraBlock.java new file mode 100644 index 000000000..cc4aa1cc8 --- /dev/null +++ b/src/main/java/net/id/paradiselost/blocks/mechanical/NitraBlock.java @@ -0,0 +1,11 @@ +package net.id.paradiselost.blocks.mechanical; + +import net.minecraft.block.Block; + +public class NitraBlock extends Block { + + public NitraBlock(Settings settings) { + super(settings); + } + +} diff --git a/src/main/java/net/id/paradiselost/items/ParadiseLostItemActions.java b/src/main/java/net/id/paradiselost/items/ParadiseLostItemActions.java index 4b5957382..fbead4b36 100644 --- a/src/main/java/net/id/paradiselost/items/ParadiseLostItemActions.java +++ b/src/main/java/net/id/paradiselost/items/ParadiseLostItemActions.java @@ -8,6 +8,7 @@ import net.minecraft.item.ItemConvertible; class ParadiseLostItemActions { + protected static final RegistryQueue.Action compostable15 = compostable(0.15f); protected static final RegistryQueue.Action compostable30 = compostable(0.3f); protected static final RegistryQueue.Action compostable50 = compostable(0.5f); protected static final RegistryQueue.Action compostable65 = compostable(0.65f); diff --git a/src/main/java/net/id/paradiselost/items/ParadiseLostItems.java b/src/main/java/net/id/paradiselost/items/ParadiseLostItems.java index 270bd5550..78abea6b5 100644 --- a/src/main/java/net/id/paradiselost/items/ParadiseLostItems.java +++ b/src/main/java/net/id/paradiselost/items/ParadiseLostItems.java @@ -154,6 +154,7 @@ private static Settings food(FoodComponent foodComponent, Rarity rarity) { public static final AliasedBlockItem BLACKCURRANT = add("blackcurrant", new AliasedBlockItem(ParadiseLostBlocks.BLACKCURRANT_BUSH, food(ParadiseLostFoodComponent.BLACKCURRANT)), compostable30); public static final Item ORANGE = add("orange", new Item(food(ParadiseLostFoodComponent.ORANGE)), compostable65); public static final AliasedBlockItem AMADRYS_BUSHEL = add("amadrys_bushel", new AliasedBlockItem(ParadiseLostBlocks.AMADRYS, food(ParadiseLostFoodComponent.GENERIC_WORSE)), compostable30); + public static final AliasedBlockItem NITRA = add("nitra", new AliasedBlockItem(ParadiseLostBlocks.NITRA, food()), compostable15); public static final Item AMADRYS_NOODLES = add("amadrys_noodles", new StewItem(food(ParadiseLostFoodComponent.AMADRYS_NOODLES))); public static final Item AMADRYS_BREAD = add("amadrys_bread", new Item(food(ParadiseLostFoodComponent.AMADRYS_BREAD))); public static final Item AMADRYS_BREAD_GLAZED = add("amadrys_bread_glazed", new Item(food(ParadiseLostFoodComponent.AMADRYS_BREAD_GLAZED))); @@ -176,6 +177,7 @@ private static Settings misc() { public static final BlockItem INCUBATOR = add("incubator", ParadiseLostBlocks.INCUBATOR, misc, fuel(300)); public static final BlockItem FOOD_BOWL = add("food_bowl", ParadiseLostBlocks.FOOD_BOWL, misc, fuel(300)); public static final BlockItem TREE_TAP = add("tree_tap", ParadiseLostBlocks.TREE_TAP, misc, fuel(300)); + public static final BlockItem NITRA_BUNCH = add("nitra_bunch", ParadiseLostBlocks.NITRA_BUNCH, misc, fuel(3200)); public static final AurelBucketItem AUREL_BUCKET = add("aurel_bucket", new AurelBucketItem(misc().maxCount(16)), fuel(200), emptyBucketBehavior); diff --git a/src/main/resources/asset_helper.py b/src/main/resources/asset_helper.py index c2f130a65..7e133c8cf 100644 --- a/src/main/resources/asset_helper.py +++ b/src/main/resources/asset_helper.py @@ -80,10 +80,8 @@ def generate_slab_block(block_id, base_block_id, texture): -generate_standard_block("levita") -generate_standard_block("levita_ore") -generate_standard_item("levita_gem") -generate_standard_item("levita_wand") +generate_standard_block("nitra_bunch") +generate_standard_item("nitra") diff --git a/src/main/resources/assets/paradise_lost/blockstates/nitra.json b/src/main/resources/assets/paradise_lost/blockstates/nitra.json new file mode 100644 index 000000000..d8b86a834 --- /dev/null +++ b/src/main/resources/assets/paradise_lost/blockstates/nitra.json @@ -0,0 +1,28 @@ +{ + "variants": { + "age=0": { + "model": "paradise_lost:block/nitra_stage0" + }, + "age=1": { + "model": "paradise_lost:block/nitra_stage0" + }, + "age=2": { + "model": "paradise_lost:block/nitra_stage1" + }, + "age=3": { + "model": "paradise_lost:block/nitra_stage1" + }, + "age=4": { + "model": "paradise_lost:block/nitra_stage1" + }, + "age=5": { + "model": "paradise_lost:block/nitra_stage2" + }, + "age=6": { + "model": "paradise_lost:block/nitra_stage2" + }, + "age=7": { + "model": "paradise_lost:block/nitra_stage3" + } + } +} diff --git a/src/main/resources/assets/paradise_lost/blockstates/nitra_bunch.json b/src/main/resources/assets/paradise_lost/blockstates/nitra_bunch.json new file mode 100644 index 000000000..ab6b3d7b6 --- /dev/null +++ b/src/main/resources/assets/paradise_lost/blockstates/nitra_bunch.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "paradise_lost:block/nitra_bunch" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/paradise_lost/lang/en_us.json b/src/main/resources/assets/paradise_lost/lang/en_us.json index fbf33010f..b215078f0 100644 --- a/src/main/resources/assets/paradise_lost/lang/en_us.json +++ b/src/main/resources/assets/paradise_lost/lang/en_us.json @@ -255,6 +255,7 @@ "block.paradise_lost.incubator": "Incubator", "block.paradise_lost.food_bowl": "Feeding Trough", "block.paradise_lost.tree_tap": "Tree Tap", + "block.paradise_lost.nitra_bunch": "Nitra Bunch", "block.paradise_lost.crystal_chest": "Crystal Chest", "block.paradise_lost.golden_oak_chest": "Mother Aurel Chest", @@ -341,6 +342,7 @@ "item.paradise_lost.blackcurrant": "Blackcurrant", "item.paradise_lost.orange": "Orange", "item.paradise_lost.amadrys_bushel": "Amadrys Bushel", + "item.paradise_lost.nitra": "Nitra Bulb", "item.paradise_lost.amadrys_noodles": "Amadrys Noodle Soup", "item.paradise_lost.amadrys_bread": "Amadrys Loaf", "item.paradise_lost.amadrys_bread_glazed": "Glazed Amadrys Loaf", diff --git a/src/main/resources/assets/paradise_lost/models/block/cross_crop.json b/src/main/resources/assets/paradise_lost/models/block/cross_crop.json new file mode 100644 index 000000000..7d8dbfdec --- /dev/null +++ b/src/main/resources/assets/paradise_lost/models/block/cross_crop.json @@ -0,0 +1,26 @@ +{ + "ambientocclusion": false, + "textures": { + "particle": "#crop" + }, + "elements": [ + { "from": [ 0.8, -1, 8 ], + "to": [ 15.2, 15, 8 ], + "rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true }, + "shade": false, + "faces": { + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#crop" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#crop" } + } + }, + { "from": [ 8, -1, 0.8 ], + "to": [ 8, 15, 15.2 ], + "rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true }, + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#crop" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#crop" } + } + } + ] +} diff --git a/src/main/resources/assets/paradise_lost/models/block/nitra_bunch.json b/src/main/resources/assets/paradise_lost/models/block/nitra_bunch.json new file mode 100644 index 000000000..caaa51633 --- /dev/null +++ b/src/main/resources/assets/paradise_lost/models/block/nitra_bunch.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/cube_bottom_top", + "textures": { + "bottom": "paradise_lost:block/nitra_bunch_bottom", + "side": "paradise_lost:block/nitra_bunch_side", + "top": "paradise_lost:block/nitra_bunch_top" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/paradise_lost/models/block/nitra_stage0.json b/src/main/resources/assets/paradise_lost/models/block/nitra_stage0.json new file mode 100644 index 000000000..295c97060 --- /dev/null +++ b/src/main/resources/assets/paradise_lost/models/block/nitra_stage0.json @@ -0,0 +1,6 @@ +{ + "parent": "paradise_lost:block/cross_crop", + "textures": { + "crop": "paradise_lost:block/nitra_stage0" + } +} diff --git a/src/main/resources/assets/paradise_lost/models/block/nitra_stage1.json b/src/main/resources/assets/paradise_lost/models/block/nitra_stage1.json new file mode 100644 index 000000000..b927cbb76 --- /dev/null +++ b/src/main/resources/assets/paradise_lost/models/block/nitra_stage1.json @@ -0,0 +1,6 @@ +{ + "parent": "paradise_lost:block/cross_crop", + "textures": { + "crop": "paradise_lost:block/nitra_stage1" + } +} diff --git a/src/main/resources/assets/paradise_lost/models/block/nitra_stage2.json b/src/main/resources/assets/paradise_lost/models/block/nitra_stage2.json new file mode 100644 index 000000000..49da8374b --- /dev/null +++ b/src/main/resources/assets/paradise_lost/models/block/nitra_stage2.json @@ -0,0 +1,6 @@ +{ + "parent": "paradise_lost:block/cross_crop", + "textures": { + "crop": "paradise_lost:block/nitra_stage2" + } +} diff --git a/src/main/resources/assets/paradise_lost/models/block/nitra_stage3.json b/src/main/resources/assets/paradise_lost/models/block/nitra_stage3.json new file mode 100644 index 000000000..b5ed2d636 --- /dev/null +++ b/src/main/resources/assets/paradise_lost/models/block/nitra_stage3.json @@ -0,0 +1,6 @@ +{ + "parent": "paradise_lost:block/cross_crop", + "textures": { + "crop": "paradise_lost:block/nitra_stage3" + } +} diff --git a/src/main/resources/assets/paradise_lost/models/item/nitra.json b/src/main/resources/assets/paradise_lost/models/item/nitra.json new file mode 100644 index 000000000..f0d4a01fa --- /dev/null +++ b/src/main/resources/assets/paradise_lost/models/item/nitra.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "paradise_lost:item/nitra" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/paradise_lost/models/item/nitra_bunch.json b/src/main/resources/assets/paradise_lost/models/item/nitra_bunch.json new file mode 100644 index 000000000..ea4d42d6a --- /dev/null +++ b/src/main/resources/assets/paradise_lost/models/item/nitra_bunch.json @@ -0,0 +1,3 @@ +{ + "parent": "paradise_lost:block/nitra_bunch" +} \ No newline at end of file diff --git a/src/main/resources/assets/paradise_lost/textures/block/nitra_bunch_bottom.png b/src/main/resources/assets/paradise_lost/textures/block/nitra_bunch_bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..4a05b681a8ae7d36929cb07ef9c6fe041577a9b1 GIT binary patch literal 364 zcmV-y0h9iTP)Px$CP_p=R5*=&lQC+;Fc^hD8!a6?#K$OzV!D}Py!HmYMYkHdw~(=f+@uFEhGfl< zGjvS`4H*(p2U(UZ$$8+xdheH>{{Jca`gqZ8qo^x^kNx3BKNQpd=ldnei>P?DhI2<< z3Hkw&JWy91pvd&!v$l(zyXX`n7PDesJNJDLqq7kC{%|uyf&|!XuSs{-VeVTEN!!FF zezUzI`k|n0)J$XxkH-^ImO#u~PWTHBhLp0TZ4|M_X|vt$leRAWaoH=_4Z@s!|2zPg z9!$lnwKr#1FdO6e*^To_;Lmu36;1FaQCEVtQ9%w8qw0r(y1KX=1e*L_G2j}vzzZ-9 zTYgNZi1#xh+>3Mf4Rg>Bj`ul$?CteYOIZdvU<{B!+o(iVjOHKRi>vc#T`tN10000< KMNUMnLSTY1e4Px$B}qgUFc^eC2Y2X@fZZ*4=v)w`bSuSp?HlwRO36@YAbSVTrEk)? z7(=ys@GGPl9f*evHMoPT*pjT|HvM-x{l9eb-d^w9B(Ax;@fkuE4Ou=ttXGTuC_k|_ z2Pwdzmc(_xIY>1=iEF&}=eAWvwoB`jgPGD8I=$~>Fw7MuvS^TBFV557KYpE_vS{#P z5w&CFJemQpS?{#93ExGSP)3%45Fr3%S!sl-KR=xTkmb`+&B+l?b>lrgTv-OLc8A8B z^^SQo>qbc8+K^pnDFiG{mS1)qe1BfIuAr#6t`>W=umve>m&l?S1j!MU?&8jM-b|t_ znj@d7viRXg^ZQx*8C9(;D})Hi@}3`Z@c#-zgw7m5cY&@P`~mNqlwuq>K#TwY002ov JPDHLkV1kQNpMn4Y literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/paradise_lost/textures/block/nitra_bunch_top.png b/src/main/resources/assets/paradise_lost/textures/block/nitra_bunch_top.png new file mode 100644 index 0000000000000000000000000000000000000000..d8d571c7830bdc256c08d58a2b4dda9bb043650a GIT binary patch literal 477 zcmV<30V4j1P)Px$mq|oHR5*=olOb>8KoEt$L^d!;q`E8$D6X_1DvK(gSsPq(;bl>Jpi-+IKSiar z%*>4rpN?4prUv;7?MVeqr5XgpQV!U&yLLO0!OojEJAU)F_v`Nb5C$dFiGv+^QIV|& z`uy|9?n~VHL_T_i_j>>~o2^Ch3=T{u_drSS@N#yLq!9C>B8vAYM4<#Js5Z zcKOP`=Z_XSiud$n3la|xZ(Phyw1_rowK@jSnkePh8c0GyK%0CqJ0Xgt#?{WuXki>fJ`^P-f2vtZd!JH(5!N~aEanAfB$@F@$?i;jn<$`mhNfdv05E78V?Ow z9BYLG=zq4u_+V>r%WUEi$GkY>1el=RuOiUd T1qOo#00000NkvXXu0mjfo5tT7 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/paradise_lost/textures/block/nitra_stage0.png b/src/main/resources/assets/paradise_lost/textures/block/nitra_stage0.png new file mode 100644 index 0000000000000000000000000000000000000000..4f49509cb15e270afefa33fe689ab4053722e425 GIT binary patch literal 241 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|R(rZQhFJ6_ zCrGd^PKaP|ixFCzYW80;)Kvlm{@t%T9B{XkWp$KV%`9!_9*G=Y3rPu}WYp=Lf62k8 zn|wcfdRor2i-(8jZT2}s10aZrD(|+?uP_t&FFrje<;TW4sl%Jq=SwU}`2jNUK~CQR zown)c-x=rRzeqij#lXzW-0T|lqTW%{lI`E*+miEae;zpi1PZE$kAJv$XY#|po85WT e)7H9OWM)`>-mtou{SGV8*$kepelF{r5}E+h5?O8l literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/paradise_lost/textures/block/nitra_stage1.png b/src/main/resources/assets/paradise_lost/textures/block/nitra_stage1.png new file mode 100644 index 0000000000000000000000000000000000000000..349855479a7bac8c734d22ec7386f74dffb242c5 GIT binary patch literal 278 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|E_k{)hFJ6_ zCrGd^PPovl$!+uBKk~s(`T0_AIZbO*&Hn$~S|Pc`7(!><)ixi*plWV`FRkeqPS7!&~!^X-?diu0}<^ z#M3Xmb$Mos?@hXJRkW#lZ~Zq8Q=Ti#KL52PZy0`UtP)Px$3`s;mR5*?8k+Dj{P!xv0mJS6;A&X)W5xTjA(nV@1T?;NnM4!N+YoT3TI`|5{ zfrwj1hY(0`3vy>cB#qP|ffStrw?pxgo7fi+51irt|2g0J;lh9YfvRjXJlm4__vzWo z)>*CQ)1LHfOUm!3O)ol9E;`b)Ejgd|WO2S)TpsjSblbHOxZAEV=&vY36yR!jtkaX( zrUA@b&C1Ve2>=||zz;HAOlJ5&hT|HgWL1FS%|sD}hyn0}OzXUt-%$zbqcK9nL}B{t zCC4?0!W1E5>Z7sJ)z_R{Ur4ig$k*e&GMfht0HQEe+RphUN%YS1-9tqK{6Lb=H}+mX kN(lg#t$obhBee{$2Hiq#Moy*Dpa1{>07*qoM6N<$g0W+kX8-^I literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/paradise_lost/textures/item/nitra.png b/src/main/resources/assets/paradise_lost/textures/item/nitra.png new file mode 100644 index 0000000000000000000000000000000000000000..bad2833deee3a9878a466e1cbb92071e9771056c GIT binary patch literal 334 zcmV-U0kQsxP)Px$2uVaiR5*?8kS|XIK@i1%M@Yb6YkJ5FqHt{%g+W{;>Vm8xgzr#30ivJd41zRi za$rbF4%do83#zh*p(Rz6pr+!o?JoU;Mex+Tnc4T=Ec|0F{7PB;N?9}y15d)h6LV+t zH<6RmGxA0 zicIch&{1-Ac_haN?ku)hTM6PwiC+MBua-5&Rot9IasM0GCF!MBbd3#@xH)S!L%TIv z9@!MgZqA$;R{==hW!?ws&Azkp1c2KI!7t2t_jS=RF+LN(B4Oak#rckvsNEXz^X`=b gTEyh*9{&wY0kpPdR43TtV*mgE07*qoM6N<$f_?Ln5&!@I literal 0 HcmV?d00001 diff --git a/src/main/resources/data/paradise_lost/loot_tables/blocks/nitra.json b/src/main/resources/data/paradise_lost/loot_tables/blocks/nitra.json new file mode 100644 index 000000000..385dbd9e0 --- /dev/null +++ b/src/main/resources/data/paradise_lost/loot_tables/blocks/nitra.json @@ -0,0 +1,75 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "paradise_lost:nitra" + } + ] + }, + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:binomial_with_bonus_count", + "parameters": { + "extra": 3, + "probability": 0.5714286 + } + } + ], + "name": "paradise_lost:nitra" + } + ], + "conditions": [ + { + "condition": "minecraft:block_state_property", + "block": "paradise_lost:nitra", + "properties": { + "age": "7" + } + } + ] + }, + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:random_chance", + "chance": 0.02 + } + ], + "name": "paradise_lost:nitra" + } + ], + "conditions": [ + { + "condition": "minecraft:block_state_property", + "block": "paradise_lost:nitra", + "properties": { + "age": "7" + } + } + ] + } + ], + "functions": [ + { + "function": "minecraft:explosion_decay" + } + ] +} diff --git a/src/main/resources/data/paradise_lost/loot_tables/blocks/nitra_bunch.json b/src/main/resources/data/paradise_lost/loot_tables/blocks/nitra_bunch.json new file mode 100644 index 000000000..4c07b21a9 --- /dev/null +++ b/src/main/resources/data/paradise_lost/loot_tables/blocks/nitra_bunch.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "paradise_lost:nitra_bunch" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} diff --git a/src/main/resources/data/paradise_lost/recipes/nitra.json b/src/main/resources/data/paradise_lost/recipes/nitra.json new file mode 100644 index 000000000..f7035ffd9 --- /dev/null +++ b/src/main/resources/data/paradise_lost/recipes/nitra.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "paradise_lost:nitra_bunch" + } + ], + "result": { + "item": "paradise_lost:nitra", + "count": 4 + } +} \ No newline at end of file diff --git a/src/main/resources/data/paradise_lost/recipes/nitra_bunch.json b/src/main/resources/data/paradise_lost/recipes/nitra_bunch.json new file mode 100644 index 000000000..3bfb2de21 --- /dev/null +++ b/src/main/resources/data/paradise_lost/recipes/nitra_bunch.json @@ -0,0 +1,15 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "paradise_lost:nitra" + } + }, + "result": { + "item": "paradise_lost:nitra_bunch" + } +} \ No newline at end of file