Class ShovelBlockInteractRegistry
java.lang.Object
net.rotgruengelb.quirl.api.mechanic.interact.onblock.ShovelBlockInteractRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ToolBlockInteractResultgetResult(net.minecraft.block.BlockState blockState) static voidregister(net.minecraft.block.BlockState starting_blockstate, net.minecraft.block.BlockState new_blockstate, net.minecraft.sound.SoundEvent sound_event, net.minecraft.sound.SoundCategory sound_category) static voidregister(net.minecraft.block.BlockState starting_blockstate, net.minecraft.block.BlockState new_blockstate, net.minecraft.sound.SoundEvent sound_event, net.minecraft.sound.SoundCategory sound_category, Boolean disable_surrounding_checks)
-
Constructor Details
-
ShovelBlockInteractRegistry
public ShovelBlockInteractRegistry()
-
-
Method Details
-
register
public static void register(net.minecraft.block.BlockState starting_blockstate, net.minecraft.block.BlockState new_blockstate, net.minecraft.sound.SoundEvent sound_event, net.minecraft.sound.SoundCategory sound_category) -
register
public static void register(net.minecraft.block.BlockState starting_blockstate, net.minecraft.block.BlockState new_blockstate, net.minecraft.sound.SoundEvent sound_event, net.minecraft.sound.SoundCategory sound_category, Boolean disable_surrounding_checks) -
getResult
@Nullable public static @Nullable ToolBlockInteractResult getResult(net.minecraft.block.BlockState blockState)
-