Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Talp1

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. If somebody would ever need this, after a bit of testing I got a pretty good result, here's what I ended up with. Feature: public class FlorealVineFeature extends Feature<NoFeatureConfig> { public FlorealVineFeature(Codec<NoFeatureConfig> p_i232002_1_) { super(p_i232002_1_); } public boolean func_230362_a_(ISeedReader worldIn, StructureManager strucManager, ChunkGenerator chucnkGen, Random rand, BlockPos pos, NoFeatureConfig config) { BlockPos.Mutable blockPos = new BlockPos.Mutable().setPos(pos.getX(), pos.getY(), pos.getZ());
  2. You may also find useful the 2nd and 3rd episode of McJty's tut series. If you never tried, of course you won't be able to do it. Just research before asking for help! Devi avere pazienza
  3. Just look at how vanilla does that. (It's good practice to make some research before opening topics, so maybe also try to look up about Tags, I think you'll need it. I dont think that just copying minecraft:planks in your json will get your recipe works with your wood type.) That's how Vanilla handle chest crafting (you may found it useful later): { "type": "minecraft:crafting_shaped", "pattern": [ "###", "# #", "###" ], "key": { "#": { "tag": "minecraft:planks" } }, "result": { "item": "minecraft:chest" } }
  4. No! .setRequiresTool() does not take any parameter, just add it.
  5. I found @ChampionAsh5357 and @tcode2k16 guides pretty helpful, here's the links: https://championash5357.github.io/ChampionAsh5357/tutorial/minecraft/ https://thebookofmodding.ml/ Also keep in mind that some of the code for 1.14/1.15 works in 1.16 as well. If you prefer some YT tutorials, I suggest the ones form McJty, here's the playlist and his wiki: https://www.youtube.com/playlist?list=PLmaTwVFUUXiDRjPTbDmBgJZN4MeQ5uYby https://wiki.mcjty.eu/modding/index.php?title=YouTube-Tutorials#Introduction
  6. If I'm not wrong, you actually need to override the method onBlockActivated as well. Just keep it identical as vanilla and replace the Sweetberry Item in spawnAsEntity with your blue berry. I did this in my own Blueberry bush and it's working just fine!
  7. I'm not an expert and I dont have a really good knowledge about crash reports and minecraft/forge code, but judging by those lines, it seems that VoxelMap is generating a NullPointerException (I assume, looking at the error, during some rendering process for the Waypoint labels, or something similar). Try to remove VoxelMap or maybe the dark theme mod that you installed. Keep in mind that I might be wrong. Hope to be of help anyways.
  8. So... since I need my gen to do the exact same as the vanilla vine's one, I pretty much created a new identical feature changing the vanilla vine block with mine: public class FlorealVineFeature extends Feature<NoFeatureConfig> { private static final Direction[] DIRECTIONS = Direction.values(); public FlorealVineFeature(Codec<NoFeatureConfig> p_i232002_1_) { super(p_i232002_1_); } public boolean func_230362_a_(ISeedReader p_230362_1_, StructureManager p_230362_2_, ChunkGenerator p_230362_3_, Random p_230362_4_, BlockPos p_230362_5_, NoFeatureConfig p_2
  9. First of all, thanks for answeing! Yup, I think I'm gonna try to create somethig that check that if a block is a leaf/log then it places my custom vine on it. It's gonna be a challenge but I'll eventually figure it out, I hope. I'll relpy on this topic in case I need help with that. Thank you for the hint!
  10. Hi everyone! I'm pretty new to modding and I'm trying to figure out how to generate custom vines in certains biomes. So far i have created the vine block and the item to place that block, but i can't figure out how to make this block generate in the world. Thats what i have started with: @Mod.EventBusSubscriber(modid = Main.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public class VinesGen { @SubscribeEvent public static void generateVines(FMLLoadCompleteEvent event){ for (Biome biome : ForgeRegistries.BIOMES){ if (biome.get
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.