Class RedStringInterceptorBlockEntity

java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
All Implemented Interfaces:
Bound

public class RedStringInterceptorBlockEntity extends RedStringBlockEntity
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity

    net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput
  • Field Summary

    Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity

    level, remove, worldPosition

    Fields inherited from interface vazkii.botania.api.block.Bound

    UNBOUND_POS
  • Constructor Summary

    Constructors
    Constructor
    Description
    RedStringInterceptorBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    acceptBlock(net.minecraft.core.BlockPos pos)
     
    static void
    commonTick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos worldPosition, net.minecraft.world.level.block.state.BlockState state, RedStringInterceptorBlockEntity self)
     
    static net.minecraft.world.InteractionResult
    onInteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.InteractionHand hand)
     

    Methods inherited from class vazkii.botania.common.block.block_entity.red_string.RedStringBlockEntity

    commonTick, getBinding, getBlockAtBinding, getOrientation, getRange, getStateAtBinding, getTileAtBinding, onBound, setBinding

    Methods inherited from class vazkii.botania.common.block.block_entity.BotaniaBlockEntity

    getUpdatePacket, getUpdateTag, loadAdditional, readPacketNBT, saveAdditional, writePacketNBT

    Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity

    addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeComponentsFromTag, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setLevel, setRemoved, triggerEvent

    Methods inherited from class java.lang.Object

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

    • RedStringInterceptorBlockEntity

      public RedStringInterceptorBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • commonTick

      public static void commonTick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos worldPosition, net.minecraft.world.level.block.state.BlockState state, RedStringInterceptorBlockEntity self)
    • acceptBlock

      public boolean acceptBlock(net.minecraft.core.BlockPos pos)
      Specified by:
      acceptBlock in class RedStringBlockEntity
    • onInteract

      public static net.minecraft.world.InteractionResult onInteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.InteractionHand hand)