Package net.minecraft.block.entity
Class SculkShriekerBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.SculkShriekerBlockEntity
- All Implemented Interfaces:
SculkSensorListener.Callback
- Mappings:
Namespace Name official cqfintermediary net/minecraft/class_7133named net/minecraft/block/entity/SculkShriekerBlockEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate static final intprivate SculkSensorListenerFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ServerWorld serverWorld, GameEventListener listener, BlockPos blockPos, GameEvent gameEvent, @Nullable Entity entity, int int2) Accepts a game event after delay.booleanaccepts(ServerWorld serverWorld, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity) Returns whether the callback wants to accept this event.booleanvoidreadNbt(NbtCompound nbt) protected voidwriteNbt(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, writeIdToNbtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.event.listener.SculkSensorListener.Callback
getTag
-
Field Details
-
field_38237
private static final org.slf4j.Logger field_38237- Mappings:
Namespace Name Mixin selector official aLcqf;a:Lorg/slf4j/Logger;intermediary field_38237Lnet/minecraft/class_7133;field_38237:Lorg/slf4j/Logger;named field_38237Lnet/minecraft/block/entity/SculkShriekerBlockEntity;field_38237:Lorg/slf4j/Logger;
-
RANGE
private static final int RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official bLcqf;b:Iintermediary field_38238Lnet/minecraft/class_7133;field_38238:Inamed RANGELnet/minecraft/block/entity/SculkShriekerBlockEntity;RANGE:I
-
vibrationListener
- Mappings:
Namespace Name Mixin selector official cLcqf;c:Lcvv;intermediary field_38239Lnet/minecraft/class_7133;field_38239:Lnet/minecraft/class_5718;named vibrationListenerLnet/minecraft/block/entity/SculkShriekerBlockEntity;vibrationListener:Lnet/minecraft/world/event/listener/SculkSensorListener;
-
-
Constructor Details
-
SculkShriekerBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Lcqf;<init>(Lgk;Lcrk;)Vintermediary <init>Lnet/minecraft/class_7133;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/SculkShriekerBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
getVibrationListener
- Mappings:
Namespace Name Mixin selector official cLcqf;c()Lcvv;intermediary method_42325Lnet/minecraft/class_7133;method_42325()Lnet/minecraft/class_5718;named getVibrationListenerLnet/minecraft/block/entity/SculkShriekerBlockEntity;getVibrationListener()Lnet/minecraft/world/event/listener/SculkSensorListener;
-
readNbt
- Overrides:
readNbtin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcpf;a(Los;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed readNbtLnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeNbt
- Overrides:
writeNbtin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLcpf;b(Los;)Vintermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Vnamed writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
canAccept
- Specified by:
canAcceptin interfaceSculkSensorListener.Callback- Mappings:
Namespace Name Mixin selector official a_Lcvv$b;a_(Lcvp;Layg;)Zintermediary method_42324Lnet/minecraft/class_5718$class_5719;method_42324(Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Znamed canAcceptLnet/minecraft/world/event/listener/SculkSensorListener$Callback;canAccept(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)Z
-
accepts
public boolean accepts(ServerWorld serverWorld, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity entity) Returns whether the callback wants to accept this event.- Specified by:
acceptsin interfaceSculkSensorListener.Callback- Mappings:
Namespace Name Mixin selector official aLcvv$b;a(Laef;Lcvr;Lgk;Lcvp;Layg;)Zintermediary method_32970Lnet/minecraft/class_5718$class_5719;method_32970(Lnet/minecraft/class_3218;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Znamed acceptsLnet/minecraft/world/event/listener/SculkSensorListener$Callback;accepts(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)Z
-
accept
public void accept(ServerWorld serverWorld, GameEventListener listener, BlockPos blockPos, GameEvent gameEvent, @Nullable @Nullable Entity entity, int int2) Accepts a game event after delay.- Specified by:
acceptin interfaceSculkSensorListener.Callback- Mappings:
Namespace Name Mixin selector official aLcvv$b;a(Laef;Lcvr;Lgk;Lcvp;Layg;I)Vintermediary method_32969Lnet/minecraft/class_5718$class_5719;method_32969(Lnet/minecraft/class_3218;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;I)Vnamed acceptLnet/minecraft/world/event/listener/SculkSensorListener$Callback;accept(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;I)V
-