Package forestry.api.core
Interface ISpectacleBlock
public interface ISpectacleBlock
Implement this interface on your block entities so that players wearing Spectacles can see them more easily.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanisHighlighted(net.minecraft.world.entity.player.Player player) Determines whether a highlight should be drawn around this block.
-
Method Details
-
isHighlighted
default boolean isHighlighted(net.minecraft.world.entity.player.Player player) Determines whether a highlight should be drawn around this block.- Parameters:
player- The player wearing spectacles.- Returns:
trueif a highlighted bounding box should be drawn around this block,falseotherwise.
-