Package net.minecraft.block.entity
Class ComparatorBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.ComparatorBlockEntity
public class ComparatorBlockEntity extends BlockEntity
- Mappings:
Namespace Name official cfz
intermediary net/minecraft/class_2599
named net/minecraft/block/entity/ComparatorBlockEntity
-
Field Summary
Fields Modifier and Type Field Description private int
outputSignal
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
Constructors Constructor Description ComparatorBlockEntity(BlockPos pos, BlockState state)
-
Method Summary
Modifier and Type Method Description void
fromTag(CompoundTag tag)
int
getOutputSignal()
void
setOutputSignal(int outputSignal)
CompoundTag
toTag(CompoundTag tag)
Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld, toInitialChunkDataTag, toUpdatePacket
-
Field Details
-
outputSignal
private int outputSignal- Mappings:
Namespace Name Mixin selector official a
Lcfz;a:I
intermediary field_11943
Lnet/minecraft/class_2599;field_11943:I
named outputSignal
Lnet/minecraft/block/entity/ComparatorBlockEntity;outputSignal:I
-
-
Constructor Details
-
ComparatorBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcfz;<init>(Lfx;Lcht;)V
intermediary <init>
Lnet/minecraft/class_2599;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/entity/ComparatorBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
toTag
- Overrides:
toTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcfr;b(Lmq;)Lmq;
intermediary method_11007
Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
named toTag
Lnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
fromTag
- Overrides:
fromTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcfr;a(Lmq;)V
intermediary method_11014
Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
named fromTag
Lnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
getOutputSignal
public int getOutputSignal()- Mappings:
Namespace Name Mixin selector official d
Lcfz;d()I
intermediary method_11071
Lnet/minecraft/class_2599;method_11071()I
named getOutputSignal
Lnet/minecraft/block/entity/ComparatorBlockEntity;getOutputSignal()I
-
setOutputSignal
public void setOutputSignal(int outputSignal)- Mappings:
Namespace Name Mixin selector official a
Lcfz;a(I)V
intermediary method_11070
Lnet/minecraft/class_2599;method_11070(I)V
named setOutputSignal
Lnet/minecraft/block/entity/ComparatorBlockEntity;setOutputSignal(I)V
-