Class ShovelItemMixin

java.lang.Object
net.frozenblock.lib.item.mixin.shovel.ShovelItemMixin

public class ShovelItemMixin extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    frozenlib$removeOtherBehaviorsA(boolean original, com.llamalad7.mixinextras.sugar.ref.LocalBooleanRef isCustomBehavior)
     
    net.minecraft.world.level.block.Block
    frozenlib$removeOtherBehaviorsB(net.minecraft.world.level.block.Block original, com.llamalad7.mixinextras.sugar.ref.LocalBooleanRef isCustomBehavior)
     
    void
    frozenlib$runShovelBehavior(net.minecraft.world.item.context.UseOnContext context, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.world.InteractionResult> info, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState, com.llamalad7.mixinextras.sugar.ref.LocalRef<net.minecraft.world.level.block.state.BlockState> blockState3, com.llamalad7.mixinextras.sugar.ref.LocalRef<net.minecraft.core.Direction> direction, com.llamalad7.mixinextras.sugar.ref.LocalRef<ShovelBehaviors.ShovelBehavior> shovelBehavior)
     
    net.minecraft.core.Direction
    frozenlib$startShovelBehavior(net.minecraft.core.Direction original, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState, com.llamalad7.mixinextras.sugar.ref.LocalBooleanRef isCustomBehavior, com.llamalad7.mixinextras.sugar.ref.LocalRef<net.minecraft.core.Direction> direction, com.llamalad7.mixinextras.sugar.ref.LocalRef<ShovelBehaviors.ShovelBehavior> shovelBehavior)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShovelItemMixin

      public ShovelItemMixin()
  • Method Details

    • frozenlib$startShovelBehavior

      public net.minecraft.core.Direction frozenlib$startShovelBehavior(net.minecraft.core.Direction original, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState, com.llamalad7.mixinextras.sugar.ref.LocalBooleanRef isCustomBehavior, com.llamalad7.mixinextras.sugar.ref.LocalRef<net.minecraft.core.Direction> direction, com.llamalad7.mixinextras.sugar.ref.LocalRef<ShovelBehaviors.ShovelBehavior> shovelBehavior)
    • frozenlib$removeOtherBehaviorsA

      public boolean frozenlib$removeOtherBehaviorsA(boolean original, com.llamalad7.mixinextras.sugar.ref.LocalBooleanRef isCustomBehavior)
    • frozenlib$removeOtherBehaviorsB

      public net.minecraft.world.level.block.Block frozenlib$removeOtherBehaviorsB(net.minecraft.world.level.block.Block original, com.llamalad7.mixinextras.sugar.ref.LocalBooleanRef isCustomBehavior)
    • frozenlib$runShovelBehavior

      public void frozenlib$runShovelBehavior(net.minecraft.world.item.context.UseOnContext context, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.world.InteractionResult> info, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState, com.llamalad7.mixinextras.sugar.ref.LocalRef<net.minecraft.world.level.block.state.BlockState> blockState3, com.llamalad7.mixinextras.sugar.ref.LocalRef<net.minecraft.core.Direction> direction, com.llamalad7.mixinextras.sugar.ref.LocalRef<ShovelBehaviors.ShovelBehavior> shovelBehavior)