Class ComparatorBlockEntity

All Implemented Interfaces:
ICapabilityProvider, ICapabilityProviderImpl<BlockEntity>, ICapabilitySerializable<CompoundTag>, IBlockEntityExtension, INBTSerializable<CompoundTag>

public class ComparatorBlockEntity extends BlockEntity
  • Field Details

    • output

      private int output
  • Constructor Details

    • ComparatorBlockEntity

      public ComparatorBlockEntity(BlockPos p_155386_, BlockState p_155387_)
  • Method Details

    • saveAdditional

      protected void saveAdditional(CompoundTag p_187493_)
      Overrides:
      saveAdditional in class BlockEntity
    • load

      public void load(CompoundTag p_155389_)
      Overrides:
      load in class BlockEntity
    • getOutputSignal

      public int getOutputSignal()
    • setOutputSignal

      public void setOutputSignal(int p_59176_)