generated from neoforged/MDK
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dfc9a25
commit d8e573b
Showing
38 changed files
with
255 additions
and
100 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
src/generated/resources/.cache/2f572324d4ae438eed6ef1c4961027be07f7d2fe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// 1.20.4 2024-03-03T19:23:22.4374836 JustDireThings Tags | ||
// 1.20.4 2024-03-09T21:52:58.7342424 JustDireThings Tags | ||
5b5cbf374921a9647606a861d5a8c35ea64cc9c7 data/forge/tags/blocks/ores.json | ||
2d8e1cc89c55f97e9aa87799af87ddd8a74b2e34 data/justdirethings/tags/blocks/lawnmowerable.json | ||
dff9db68e86925ee97c0161c983644c87debb3c3 data/minecraft/tags/blocks/mineable/pickaxe.json | ||
11232a655ecdf0e32c632d145759b8a0de2e09fa data/minecraft/tags/blocks/mineable/shovel.json | ||
533f1800814b8d517f2881a258e26ccb769f519d data/minecraft/tags/blocks/mineable/shovel.json |
5 changes: 3 additions & 2 deletions
5
src/generated/resources/.cache/59eb3dbb5f86130e09b3c62d89b9525ee01cf52d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
// 1.20.4 2024-03-01T15:36:16.4003748 Loot Tables | ||
// 1.20.4 2024-03-09T21:52:58.739246 Loot Tables | ||
16a0ab61513717ab1cb8c1df9718722a643d9728 data/justdirethings/loot_tables/blocks/blazegold_block.json | ||
1374ed53b2d6c1462b64a99f3ca1b290388d36c5 data/justdirethings/loot_tables/blocks/ferricore_block.json | ||
9d62cc762313305bbe032473310bafd15bcdb8bd data/justdirethings/loot_tables/blocks/gooblock_tier1.json | ||
7e92782ed4881463b836c32c2504d92fee72cbfb data/justdirethings/loot_tables/blocks/gooblock_tier2.json | ||
fcef2a947be7443c277f0bc8a7ac5379f2084822 data/justdirethings/loot_tables/blocks/goopatternblock.json | ||
9c8536a418114b2885b7662a77029757c8da8152 data/justdirethings/loot_tables/blocks/goosoil.json | ||
ec24d4e64ad8c73bb13ad3153e02193c0c4e286d data/justdirethings/loot_tables/blocks/goosoil_tier1.json | ||
dbc0b95e979a373cff9226804660f79e55dead0b data/justdirethings/loot_tables/blocks/goosoil_tier2.json | ||
817a643c3ef7d120e72236ffc75349531a290d80 data/justdirethings/loot_tables/blocks/raw_blazegold_ore.json | ||
9a3a9b5226f317f041d8b874ca09fd6b8925b2ef data/justdirethings/loot_tables/blocks/raw_ferricore_ore.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/generated/resources/.cache/8202586f691eec5ad0bb88d13a278951d0c130fb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
// 1.20.4 2024-03-09T14:31:39.473594 Languages: en_us for mod: justdirethings | ||
849e5ae81619b2635b0a25b5b194d9d06d4c347c assets/justdirethings/lang/en_us.json | ||
// 1.20.4 2024-03-09T21:52:58.7387455 Languages: en_us for mod: justdirethings | ||
243b57187e30ef76fca33c103e7bdaf0ce241e9a assets/justdirethings/lang/en_us.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
src/generated/resources/assets/justdirethings/blockstates/goosoil.json
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
src/generated/resources/assets/justdirethings/blockstates/goosoil_tier1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"variants": { | ||
"moisture=0": { | ||
"model": "justdirethings:block/goosoil_tier1" | ||
}, | ||
"moisture=1": { | ||
"model": "justdirethings:block/goosoil_tier1" | ||
}, | ||
"moisture=2": { | ||
"model": "justdirethings:block/goosoil_tier1" | ||
}, | ||
"moisture=3": { | ||
"model": "justdirethings:block/goosoil_tier1" | ||
}, | ||
"moisture=4": { | ||
"model": "justdirethings:block/goosoil_tier1" | ||
}, | ||
"moisture=5": { | ||
"model": "justdirethings:block/goosoil_tier1" | ||
}, | ||
"moisture=6": { | ||
"model": "justdirethings:block/goosoil_tier1" | ||
}, | ||
"moisture=7": { | ||
"model": "justdirethings:block/goosoil_tier1_moist" | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/generated/resources/assets/justdirethings/blockstates/goosoil_tier2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"variants": { | ||
"moisture=0": { | ||
"model": "justdirethings:block/goosoil_tier2" | ||
}, | ||
"moisture=1": { | ||
"model": "justdirethings:block/goosoil_tier2" | ||
}, | ||
"moisture=2": { | ||
"model": "justdirethings:block/goosoil_tier2" | ||
}, | ||
"moisture=3": { | ||
"model": "justdirethings:block/goosoil_tier2" | ||
}, | ||
"moisture=4": { | ||
"model": "justdirethings:block/goosoil_tier2" | ||
}, | ||
"moisture=5": { | ||
"model": "justdirethings:block/goosoil_tier2" | ||
}, | ||
"moisture=6": { | ||
"model": "justdirethings:block/goosoil_tier2" | ||
}, | ||
"moisture=7": { | ||
"model": "justdirethings:block/goosoil_tier2_moist" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
src/generated/resources/assets/justdirethings/models/block/goosoil.json
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/generated/resources/assets/justdirethings/models/block/goosoil_moist.json
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
src/generated/resources/assets/justdirethings/models/block/goosoil_tier1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"parent": "minecraft:block/template_farmland", | ||
"textures": { | ||
"dirt": "justdirethings:block/goosoilside_tier1", | ||
"top": "justdirethings:block/goofarmland_tier1" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/generated/resources/assets/justdirethings/models/block/goosoil_tier1_moist.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"parent": "minecraft:block/template_farmland", | ||
"textures": { | ||
"dirt": "justdirethings:block/goosoilside_tier1", | ||
"top": "justdirethings:block/goofarmland_tier1_moist" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/generated/resources/assets/justdirethings/models/block/goosoil_tier2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"parent": "minecraft:block/template_farmland", | ||
"textures": { | ||
"dirt": "justdirethings:block/goosoilside_tier2", | ||
"top": "justdirethings:block/goofarmland_tier2" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/generated/resources/assets/justdirethings/models/block/goosoil_tier2_moist.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"parent": "minecraft:block/template_farmland", | ||
"textures": { | ||
"dirt": "justdirethings:block/goosoilside_tier2", | ||
"top": "justdirethings:block/goofarmland_tier2_moist" | ||
} | ||
} |
3 changes: 0 additions & 3 deletions
3
src/generated/resources/assets/justdirethings/models/item/goosoil.json
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
src/generated/resources/assets/justdirethings/models/item/goosoil_tier1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"parent": "justdirethings:block/goosoil_tier1" | ||
} |
3 changes: 3 additions & 0 deletions
3
src/generated/resources/assets/justdirethings/models/item/goosoil_tier2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"parent": "justdirethings:block/goosoil_tier2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/generated/resources/data/justdirethings/loot_tables/blocks/goosoil_tier2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"bonus_rolls": 0.0, | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:survives_explosion" | ||
} | ||
], | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "minecraft:dirt" | ||
} | ||
], | ||
"rolls": 1.0 | ||
} | ||
], | ||
"random_sequence": "justdirethings:blocks/goosoil_tier2" | ||
} |
4 changes: 3 additions & 1 deletion
4
src/generated/resources/data/minecraft/tags/blocks/mineable/shovel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
{ | ||
"values": [ | ||
"justdirethings:gooblock_tier1", | ||
"justdirethings:gooblock_tier2" | ||
"justdirethings:gooblock_tier2", | ||
"justdirethings:goosoil_tier1", | ||
"justdirethings:goosoil_tier2" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/java/com/direwolf20/justdirethings/common/blocks/soil/GooSoilTier1.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.direwolf20.justdirethings.common.blocks.soil; | ||
|
||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.server.level.ServerLevel; | ||
import net.minecraft.util.RandomSource; | ||
import net.minecraft.world.level.block.state.BlockState; | ||
|
||
public class GooSoilTier1 extends GooSoilBase { | ||
public GooSoilTier1() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Performs a random tick on a block. | ||
*/ | ||
@Override | ||
public void randomTick(BlockState pState, ServerLevel pLevel, BlockPos pPos, RandomSource pRandom) { | ||
super.randomTick(pState, pLevel, pPos, pRandom); | ||
bonemealMe(pLevel, pPos, pRandom, 13); //1 in 13 chance of the random tick causing a bonemeal | ||
} | ||
} |
Oops, something went wrong.