Interface VibrationListener.Callback
- All Known Implementing Classes:
SculkSensorBlockEntity,SculkShriekerBlockEntity,WardenEntity
- Enclosing class:
- VibrationListener
public static interface VibrationListener.Callback
- Mappings:
Namespace Name official ctz$bintermediary net/minecraft/class_5718$class_5719named net/minecraft/world/event/listener/VibrationListener$Callback
-
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.default booleandefault Tag.Identified<GameEvent>getTag()default booleanisNotOccluded(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity sourceEntity)
-
Method Details
-
getTag
- Mappings:
Namespace Name Mixin selector official fDLctz$b;fD()Lahz$e;intermediary method_40674Lnet/minecraft/class_5718$class_5719;method_40674()Lnet/minecraft/class_3494$class_5123;named getTagLnet/minecraft/world/event/listener/VibrationListener$Callback;getTag()Lnet/minecraft/tag/Tag$Identified;
-
canAccept
- 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
boolean accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity sourceEntity) Returns whether the callback wants to accept this event.- 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
-
isNotOccluded
default boolean isNotOccluded(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity sourceEntity) - Mappings:
Namespace Name Mixin selector official bLctz$b;b(Lcbf;Lctu;Lgh;Lcts;Laxe;)Zintermediary method_40830Lnet/minecraft/class_5718$class_5719;method_40830(Lnet/minecraft/class_1937;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Znamed isNotOccludedLnet/minecraft/world/event/listener/VibrationListener$Callback;isNotOccluded(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
void accept(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity sourceEntity, int delay) Accepts a game event after delay.- 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
-