Class ToolboxHandler

java.lang.Object
com.simibubi.create.content.curiosities.toolbox.ToolboxHandler

public class ToolboxHandler extends Object
  • Field Details

  • Constructor Details

    • ToolboxHandler

      public ToolboxHandler()
  • Method Details

    • onLoad

      public static void onLoad(ToolboxTileEntity te)
    • onUnload

      public static void onUnload(ToolboxTileEntity te)
    • entityTick

      public static void entityTick(net.minecraft.world.entity.Entity entity, net.minecraft.world.level.Level world)
    • playerLogin

      public static void playerLogin(net.minecraft.world.entity.player.Player player)
    • syncData

      public static void syncData(net.minecraft.world.entity.player.Player player)
    • getNearest

      public static List<ToolboxTileEntity> getNearest(net.minecraft.world.level.LevelAccessor world, net.minecraft.world.entity.player.Player player, int maxAmount)
    • unequip

      public static void unequip(net.minecraft.world.entity.player.Player player, int hotbarSlot, boolean keepItems)
    • withinRange

      public static boolean withinRange(net.minecraft.world.entity.player.Player player, ToolboxTileEntity box)
    • distance

      public static double distance(net.minecraft.world.phys.Vec3 location, net.minecraft.core.BlockPos p)
    • getMaxRange

      public static double getMaxRange(net.minecraft.world.entity.player.Player player)