Skip to content

Commit

Permalink
Added Crops block-tag to Canola/Flax/Rice, Closes #1471
Browse files Browse the repository at this point in the history
  • Loading branch information
Flanks255 committed Dec 13, 2024
1 parent c10862c commit 9689b4c
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Fixed the Drill dye recipes not functioning.
* Fixed the name of the first drill speed augment.
* Fixed the farmer not funneling seeds back to the seed slots.
* Added crops block-tag to Canola/Flax/Rice

# 1.3.11+mc1.21.1
* Fixed Farmer not playing well with non-vanilla farmland.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21.1 2024-11-06T14:57:14.1896533 Block Tags
// 1.21.1 2024-12-12T19:35:44.7724352 Block Tags
8665de82dd3d3a1351ce58f78108214f359104b0 data/actuallyadditions/tags/block/mineable/aio.json
f7dc293929a2176bc6e428c765f6bf49fbeccdb5 data/actuallyadditions/tags/block/mineable/drill.json
3ce233e27b4d7db10e2d4832602ef5b2a57f9a65 data/c/tags/block/ores.json
Expand All @@ -17,6 +17,7 @@ fb95ac8041521e1d2879f6fcb652266dcd9e0fb1 data/c/tags/block/storage_blocks/empowe
148cd937543fd58b196403c18839b2698bf87fdf data/c/tags/block/storage_blocks/palis_crystal.json
b9aa28a54d47054ba5653bec2f20e0a675ab5120 data/c/tags/block/storage_blocks/restonia_crystal.json
fb4f349bc6fd89f26ef2ba72a9236f05eefd8ea2 data/c/tags/block/storage_blocks/void_crystal.json
cf5b58cdf67335da2f86915674ea666c48d05faa data/minecraft/tags/block/crops.json
8dbaf9b7bd6774bc7c01a47a72b8a7fdaee51f87 data/minecraft/tags/block/mineable/axe.json
32191fe399bac5ad4136ff1a0b3c0b4699b30b1c data/minecraft/tags/block/mineable/pickaxe.json
fab721a4fe7ece1d0e019ce36c4d2862f70ee53b data/minecraft/tags/block/needs_stone_tool.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21.1 2024-12-06T21:14:51.7296768 Item Recipes
// 1.21.1 2024-12-12T19:35:44.7684353 Item Recipes
14bd5bc2ee3e84b6f3a3181c0e0efd40df5f1d84 data/actuallyadditions/recipe/advanced_coil.json
955aad6c1def123a6adbaeabb13faa6eedce847f data/actuallyadditions/recipe/advanced_leaf_blower.json
97e7ba64f5054b030f4e49615dc4212a28ca9be1 data/actuallyadditions/recipe/basic_coil.json
Expand Down Expand Up @@ -130,7 +130,7 @@ b5bcd0457a68e28d37312f1a1e94a106d3b6f038 data/actuallyadditions/recipe/ring_of_g
8e0ac0d696ff3ecd1ef43122707b8f131bba3fbf data/actuallyadditions/recipe/ring_of_magnetizing.json
f31206c1d67ddc93e41d13f24d54e8d6b5913348 data/actuallyadditions/recipe/single_battery.json
9504d2a8e3cb536cf865e8385a013743a0d615d0 data/actuallyadditions/recipe/stone_aiot.json
bd83fca2a318f4b513a38310e4b3d26f87ab9439 data/actuallyadditions/recipe/tagged_slime_block.json
60c12e23e3e20d5909c87fd74bd4e1ce16e6fd74 data/actuallyadditions/recipe/tagged_slime_block.json
685c36302163f912fd6979181f9c07fdc21e317a data/actuallyadditions/recipe/tagged_sticky_piston.json
b40274260097d19ae4f925e31982d8bfad3acd84 data/actuallyadditions/recipe/teleport_staff.json
b0e94b90682d5224dd995c15b26d6df50fd78dd6 data/actuallyadditions/recipe/tiny_to_charcoal.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"category": "misc",
"key": {
"R": {
"tag": "c:slimeballs"
"tag": "c:slime_balls"
}
},
"pattern": [
Expand Down
7 changes: 7 additions & 0 deletions src/generated/resources/data/minecraft/tags/block/crops.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"values": [
"actuallyadditions:canola",
"actuallyadditions:flax",
"actuallyadditions:rice"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@ protected void addTags(@Nonnull HolderLookup.Provider provider) {
BlockTags.MINEABLE_WITH_SHOVEL
);

tag(BlockTags.CROPS).add(
ActuallyBlocks.CANOLA.get(),
ActuallyBlocks.FLAX.get(),
ActuallyBlocks.RICE.get()
);

this.tag(ActuallyTags.Blocks.ORES_BLACK_QUARTZ).add(ActuallyBlocks.BLACK_QUARTZ_ORE.get());
this.tag(Tags.Blocks.ORES).addTags(ActuallyTags.Blocks.ORES_BLACK_QUARTZ);
this.tag(Tags.Blocks.ORES_IN_GROUND_STONE).add(ActuallyBlocks.BLACK_QUARTZ_ORE.get());
Expand All @@ -223,14 +229,6 @@ protected void addTags(@Nonnull HolderLookup.Provider provider) {
this.tag(ActuallyTags.Blocks.STORAGE_BLOCKS_EMPOWERED_ENORI_CRYSTAL).add(ActuallyBlocks.EMPOWERED_ENORI_CRYSTAL.get());
}

// /**
// * Resolves a Path for the location to save the given tag.
// */
// @Override
// protected Path getPath(ResourceLocation id) {
// return this.generator.getOutputFolder().resolve("data/" + id.getNamespace() + "/tags/blocks/" + id.getPath() + ".json");
// }

/**
* Gets a name for this provider, to use in logging.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

public class FermentingRecipe implements Recipe<RecipeInput> {
public static final String NAME = "fermenting";
//TODO change input from FluidStack to Neo:FluidIngredient
private final FluidStack input;
private final FluidStack output;
private final int time;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

public class LiquidFuelRecipe implements Recipe<RecipeInput> {
public static String NAME = "liquid_fuel";
//TODO 1.22 change from FluidStack to Neo:FluidIngredient
private FluidStack fuel;
private int burnTime;
private int totalEnergy;
Expand Down

0 comments on commit 9689b4c

Please sign in to comment.