BlockInteractionUtils
Package: com.hypixel.hytale.server.core.modules.interaction
public class BlockInteractionUtilsUtility class with helper methods for block interaction logic.
Static Methods
Section titled “Static Methods”public static boolean isNaturalAction(@Nullable Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor)Returns true if the action should be treated as a “natural” block break (i.e., the player is in Adventure mode, or no player entity is associated with the ref). Natural actions produce item drops; non-natural (Creative mode) actions suppress drops.
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.