Package net.minecraft.block.entity
Class SculkShriekerBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.SculkShriekerBlockEntity
- All Implemented Interfaces:
VibrationListener.Callback
- Mappings:
Namespace Name official cojintermediary net/minecraft/class_6998named net/minecraft/block/entity/SculkShriekerBlockEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity sourceEntity, int delay) Accepts a game event after delay.booleanaccepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity sourceEntity) Returns whether the callback wants to accept this event.booleanMethods 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, readNbt, setCachedState, setStackNbt, setWorld, toInitialChunkDataNbt, toUpdatePacket, writeIdToNbt, writeNbtMethods 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.VibrationListener.Callback
getTag, isNotOccluded
-
Field Details
-
RANGE
public static final int RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official aLcoj;a:Iintermediary field_36884Lnet/minecraft/class_6998;field_36884:Inamed RANGELnet/minecraft/block/entity/SculkShriekerBlockEntity;RANGE:I
-
vibrationListener
- Mappings:
Namespace Name Mixin selector official bLcoj;b:Lctz;intermediary field_36885Lnet/minecraft/class_6998;field_36885:Lnet/minecraft/class_5718;named vibrationListenerLnet/minecraft/block/entity/SculkShriekerBlockEntity;vibrationListener:Lnet/minecraft/world/event/listener/VibrationListener;
-
-
Constructor Details
-
SculkShriekerBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Lcoj;<init>(Lgh;Lcpp;)Vintermediary <init>Lnet/minecraft/class_6998;<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 cLcoj;c()Lctz;intermediary method_40826Lnet/minecraft/class_6998;method_40826()Lnet/minecraft/class_5718;named getVibrationListenerLnet/minecraft/block/entity/SculkShriekerBlockEntity;getVibrationListener()Lnet/minecraft/world/event/listener/VibrationListener;
-
canAccept
- Specified by:
canAcceptin interfaceVibrationListener.Callback- Mappings:
Namespace Name Mixin selector official a_Lctz$b;a_(Lcts;Laxe;)Zintermediary method_40825Lnet/minecraft/class_5718$class_5719;method_40825(Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Znamed canAcceptLnet/minecraft/world/event/listener/VibrationListener$Callback;canAccept(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)Z
-
accepts
public boolean accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity sourceEntity) Returns whether the callback wants to accept this event.- Specified by:
acceptsin interfaceVibrationListener.Callback- Mappings:
Namespace Name Mixin selector official aLctz$b;a(Lcbf;Lctu;Lgh;Lcts;Laxe;)Zintermediary method_32970Lnet/minecraft/class_5718$class_5719;method_32970(Lnet/minecraft/class_1937;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Znamed acceptsLnet/minecraft/world/event/listener/VibrationListener$Callback;accepts(Lnet/minecraft/world/World;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(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity sourceEntity, int delay) Accepts a game event after delay.- Specified by:
acceptin interfaceVibrationListener.Callback- Mappings:
Namespace Name Mixin selector official aLctz$b;a(Lcbf;Lctu;Lgh;Lcts;Laxe;I)Vintermediary method_32969Lnet/minecraft/class_5718$class_5719;method_32969(Lnet/minecraft/class_1937;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;I)Vnamed acceptLnet/minecraft/world/event/listener/VibrationListener$Callback;accept(Lnet/minecraft/world/World;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;I)V
-