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

Rhayzan

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Rhayzan

  • Rank
    Tree Puncher

Converted

  • Location
    Germany

Recent Profile Visitors

218 profile views
  1. Hey guys, can someone please tell me whats the problem with build.gradle? I tried to add "Patchouli" as a dependecy: Error: [00:39:11] [Netty Local Client IO #0/DEBUG] [mixin/]: Mixing client.MixinClientAdvancementManager from assets/patchouli/patchouli.mixins.json into net.minecraft.client.multiplayer.ClientAdvancementManager [00:39:11] [Netty Local Client IO #0/FATAL] [mixin/]: Mixin apply failed assets/patchouli/patchouli.mixins.json:client.MixinClientAdvancementManager -> net.minecraft.client.multiplayer.ClientAdvancementManager: org.spongepowered.asm.mixin.injection.thr
  2. Alright after checking the lilypad item I finally got it working. Thanks so much guys. And for everyone who has the same question: This was the right solution for the CustomCrop class: @Override protected boolean isValidGround(BlockState state, IBlockReader worldIn, BlockPos pos) { FluidState fluidstate = worldIn.getFluidState(pos); FluidState fluidstate1 = worldIn.getFluidState(pos.up()); return (fluidstate.getFluid() == Fluids.WATER || state.getMaterial() == Material.ICE) && fluidstate1.getFluid() == Fluids.EMPTY; }
  3. First, thanks for your help! 😃 The reason why I used isIn() was because nether warts use this to check if it is soulsand: protected boolean isValidGround(BlockState state, IBlockReader worldIn, BlockPos pos) { return state.isIn(Blocks.SOUL_SAND); } I checked how it is done with lilypads before and that didn't do anything either. So checking if the State at the position is water and the position above is empty would be: public class BelladonnaCrop extends CropsBlock { private static final VoxelShape[] SHAPES = new Vox
  4. Hello guys, I started modding yesterday and I would like to know how to let a crop be planted on water. public class BelladonnaCrop extends CropsBlock { private static final VoxelShape[] SHAPES = new VoxelShape[]{Block.makeCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 2.0D, 16.0D), Block.makeCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 4.0D, 16.0D), Block.makeCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 6.0D, 16.0D), Block.makeCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 8.0D, 16.0D), Block.makeCuboidShape(0.0D, 0.
×
×
  • Create New...

Important Information

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