Jump to content

PortsNotAlt

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

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

PortsNotAlt's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hey all! I asked around on the discord and didn't get any answers over the last couple of days so I'm coming here: I want to, when my item is used in the furnace as a fuel source, run some action on the actual furnace block. I got far enough that I created a handler class that listens for FurnaceFuelBurnTimeEvent however, that doesn't have any ways to get the position or block of the furnace, any suggestions on how I could accomplish this? Running forge 46.0.14 for Minecraft 1.20
  2. Hi! Thanks for your advice. I'm developing for a modpack with friends and it has to be on 1.16.5. In the future I'd suggest being kinder to people, it really does go a long way I'll look to other forums for help, thanks!
  3. Maybe I'm misunderstanding somewhere, but I'm using BaseTreeFeatureConfig.Builder, not TreeConfiguration.TreeConfigurationBuilder, maybe I'm looking in the wrong spot but that seems to be an outdated function?
  4. Hi! Firstly I'm using 1.16.5 Also, I wish it were as simple as the trees dont grow at all, but they do grow only on dirt blocks. The saplings can be placed on Soul Sand but cannot be grown into trees on Soul Sand. Image of Tree grown on dirt vs grown on Soul Sand
  5. I'm using Forge 1.16.5-23.2.34, and I'm attempting to make a tree that would grow from Soul Sand (or any other block I might later choose), and there seems to be no method to change this. I've already made it so that saplings can be placed on it, I just can't get them to form into trees on it. This is my code for making Saplings peaceable on other blocks: public class ModSaplingBlock extends SaplingBlock { private Supplier<Block> otherDirt; public ModSaplingBlock(Tree p_i48337_1_, Properties p_i48337_2_, Supplier<Block> otherDirt) { super(p_i48337_1_, p_i48337_2_); this.otherDirt = otherDirt; } @Override protected boolean mayPlaceOn(BlockState p_200014_1_, IBlockReader p_200014_2_, BlockPos p_200014_3_) { return p_200014_1_.is(otherDirt.get()); } } And this is my code for my trees: public static final ConfiguredFeature<BaseTreeFeatureConfig, ?> ASH = register("ash", Feature.TREE.configured(( new BaseTreeFeatureConfig.Builder( new SimpleBlockStateProvider(ModBlocks.ASH_LOG.get().defaultBlockState()), new SimpleBlockStateProvider(Blocks.AIR.defaultBlockState()), new AcaciaFoliagePlacer(FeatureSpread.fixed(2),FeatureSpread.fixed(0)), new ForkyTrunkPlacer(5, 2, 2), new TwoLayerFeature(1, 0, 2)) .build()))); Any help or pointers would be greatly appreciated, thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.