Package at.petrak.hexcasting.xplat
Interface IForgeLikeBlock
- All Known Implementing Classes:
BlockAkashicBookshelf,BlockConjured,BlockConjuredLight
public interface IForgeLikeBlock
An interface that mimics some methods of IForgeBlock.
Fabric implementation will use mixins to achieve the same effects.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanaddLandingEffects(net.minecraft.world.level.block.state.BlockState state, net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.LivingEntity entity, int numberOfParticles) default booleanhasEnchantPowerBonus(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos)
-
Method Details
-
addLandingEffects
default boolean addLandingEffects(net.minecraft.world.level.block.state.BlockState state, net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.LivingEntity entity, int numberOfParticles) -
hasEnchantPowerBonus
default boolean hasEnchantPowerBonus(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos)
-