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 cqqintermediary 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 world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity, @Nullable Entity sourceEntity, int delay) Accepts a game event after delay.booleanaccepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity) Returns whether the callback wants to accept this event.booleanvoidonListen()voidreadNbt(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 aLcqq;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 bLcqq;b:Iintermediary field_38238Lnet/minecraft/class_7133;field_38238:Inamed RANGELnet/minecraft/block/entity/SculkShriekerBlockEntity;RANGE:I
-
vibrationListener
- Mappings:
Namespace Name Mixin selector official cLcqq;c:Lcwg;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>Lcqq;<init>(Lgk;Lcrv;)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 cLcqq;c()Lcwg;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 aLcpq;a(Lou;)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 bLcpq;b(Lou;)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_Lcwg$b;a_(Lcwa;Layl;)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 world, 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 aLcwg$b;a(Laeh;Lcwc;Lgk;Lcwa;Layl;)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 world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity entity, @Nullable @Nullable Entity sourceEntity, int delay) Accepts a game event after delay.- Specified by:
acceptin interfaceSculkSensorListener.Callback- Mappings:
Namespace Name Mixin selector official aLcwg$b;a(Laeh;Lcwc;Lgk;Lcwa;Layl;Layl;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;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;Lnet/minecraft/entity/Entity;I)V
-
onListen
public void onListen()- Specified by:
onListenin interfaceSculkSensorListener.Callback- Mappings:
Namespace Name Mixin selector official fLcwg$b;f()Vintermediary method_42672Lnet/minecraft/class_5718$class_5719;method_42672()Vnamed onListenLnet/minecraft/world/event/listener/SculkSensorListener$Callback;onListen()V
-