Skip to content

Commit

Permalink
feat: Update to Minecraft 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Dec 3, 2024
1 parent 69b23ff commit 8c9c336
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "fertilization:item/compressed_bonemeal"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "fertilization:item/extremely_compressed_bonemeal"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "fertilization:item/florists_bonemeal"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"category": "misc",
"key": {
"B": "minecraft:bone_meal",
"F": "#minecraft:flowers"
"F": "#minecraft:small_flowers"
},
"pattern": [
"BF",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package net.blay09.mods.fertilization.fabric.datagen;

import net.blay09.mods.fertilization.item.ModItems;
import net.fabricmc.fabric.api.client.datagen.v1.provider.FabricModelProvider;
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput;
import net.fabricmc.fabric.api.datagen.v1.provider.FabricModelProvider;
import net.minecraft.data.models.BlockModelGenerators;
import net.minecraft.data.models.ItemModelGenerators;
import net.minecraft.data.models.model.ModelTemplates;
import net.minecraft.client.data.models.BlockModelGenerators;
import net.minecraft.client.data.models.ItemModelGenerators;
import net.minecraft.client.data.models.model.ModelTemplates;


public class ModModelProvider extends FabricModelProvider {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void buildRecipes() {
.pattern("BF")
.pattern("FB")
.define('B', Items.BONE_MEAL)
.define('F', ItemTags.FLOWERS)
.define('F', ItemTags.SMALL_FLOWERS)
.unlockedBy("has_bone_meal", has(Items.BONE_MEAL))
.save(exporter);
}
Expand Down

0 comments on commit 8c9c336

Please sign in to comment.