Class BlockEntityRedstoneImpetus

java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
at.petrak.hexcasting.api.block.HexBlockEntity
at.petrak.hexcasting.api.casting.circles.BlockEntityAbstractImpetus
at.petrak.hexcasting.common.blocks.circles.impetuses.BlockEntityRedstoneImpetus
All Implemented Interfaces:
net.minecraft.world.Clearable, net.minecraft.world.Container, net.minecraft.world.WorldlyContainer

public class BlockEntityRedstoneImpetus extends BlockEntityAbstractImpetus
  • Field Details

  • Constructor Details

    • BlockEntityRedstoneImpetus

      public BlockEntityRedstoneImpetus(net.minecraft.core.BlockPos pWorldPosition, net.minecraft.world.level.block.state.BlockState pBlockState)
  • Method Details

    • getPlayerName

      @Nullable protected @Nullable com.mojang.authlib.GameProfile getPlayerName()
    • setPlayer

      public void setPlayer(com.mojang.authlib.GameProfile profile, UUID player)
    • clearPlayer

      public void clearPlayer()
    • updatePlayerProfile

      public void updatePlayerProfile()
    • getStoredPlayer

      @Nullable public @Nullable net.minecraft.server.level.ServerPlayer getStoredPlayer()
    • applyScryingLensOverlay

      public void applyScryingLensOverlay(List<com.mojang.datafixers.util.Pair<net.minecraft.world.item.ItemStack,net.minecraft.network.chat.Component>> lines, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player observer, net.minecraft.world.level.Level world, net.minecraft.core.Direction hitFace)
      Overrides:
      applyScryingLensOverlay in class BlockEntityAbstractImpetus
    • saveModData

      protected void saveModData(net.minecraft.nbt.CompoundTag tag)
      Overrides:
      saveModData in class BlockEntityAbstractImpetus
    • loadModData

      protected void loadModData(net.minecraft.nbt.CompoundTag tag)
      Overrides:
      loadModData in class BlockEntityAbstractImpetus