Package net.minecraft.block.entity
Class ComparatorBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.ComparatorBlockEntity
- Mappings:
Namespace Name official cmz
intermediary net/minecraft/class_2599
named net/minecraft/block/entity/ComparatorBlockEntity
-
Field Summary
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
readNbt
(NbtCompound nbt) void
setOutputSignal
(int outputSignal) protected void
writeNbt
(NbtCompound nbt) Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, posFromNbt, setCachedState, setStackNbt, setWorld, toInitialChunkDataNbt, toUpdatePacket, writeIdToNbt
-
Field Details
-
outputSignal
private int outputSignal- Mappings:
Namespace Name Mixin selector official a
Lcmz;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>
Lcmz;<init>(Lgj;Lcov;)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
-
writeNbt
- Overrides:
writeNbt
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcmr;b(Lok;)V
intermediary method_11007
Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)V
named writeNbt
Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readNbt
- Overrides:
readNbt
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcmr;a(Lok;)V
intermediary method_11014
Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
named readNbt
Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getOutputSignal
public int getOutputSignal()- Mappings:
Namespace Name Mixin selector official c
Lcmz;c()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
Lcmz;a(I)V
intermediary method_11070
Lnet/minecraft/class_2599;method_11070(I)V
named setOutputSignal
Lnet/minecraft/block/entity/ComparatorBlockEntity;setOutputSignal(I)V
-