Package net.minecraft
Interface class_8514.Callback
- All Known Implementing Classes:
AllayEntity.VibrationListenerCallback,CalibratedSculkSensorBlockEntity.Callback,SculkSensorBlockEntity.Callback,SculkShriekerBlockEntity.class_8511,WardenEntity.class_8507
- Enclosing interface:
class_8514
public static interface class_8514.Callback
- Mappings:
Namespace Name official dgj$dintermediary net/minecraft/class_8514$class_5719named net/minecraft/class_8514$Callback
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ServerWorld world, BlockPos blockPos, GameEvent gameEvent, @Nullable Entity entity2, @Nullable Entity entity, float float2) Accepts a game event after delay.booleanaccepts(ServerWorld world, BlockPos blockPos, GameEvent gameEvent, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.default booleancanAccept(GameEvent gameEvent, GameEvent.Emitter emitter) intgetRange()getTag()default booleandefault intmethod_51410(float float2) default voidonListen()default boolean
-
Method Details
-
getRange
int getRange()- Mappings:
Namespace Name Mixin selector official aLdgj$d;a()Iintermediary method_49797Lnet/minecraft/class_8514$class_5719;method_49797()Inamed getRangeLnet/minecraft/class_8514$Callback;getRange()I
-
method_51300
PositionSource method_51300()- Mappings:
Namespace Name Mixin selector official bLdgj$d;b()Ldge;intermediary method_51300Lnet/minecraft/class_8514$class_5719;method_51300()Lnet/minecraft/class_5716;named method_51300Lnet/minecraft/class_8514$Callback;method_51300()Lnet/minecraft/world/event/PositionSource;
-
accepts
boolean accepts(ServerWorld world, BlockPos blockPos, GameEvent gameEvent, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.- Mappings:
Namespace Name Mixin selector official aLdgj$d;a(Laid;Lgu;Ldga;Ldga$a;)Zintermediary method_32970Lnet/minecraft/class_8514$class_5719;method_32970(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;)Znamed acceptsLnet/minecraft/class_8514$Callback;accepts(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
-
accept
void accept(ServerWorld world, BlockPos blockPos, GameEvent gameEvent, @Nullable @Nullable Entity entity2, @Nullable @Nullable Entity entity, float float2) Accepts a game event after delay.- Mappings:
Namespace Name Mixin selector official aLdgj$d;a(Laid;Lgu;Ldga;Lbfb;Lbfb;F)Vintermediary method_32969Lnet/minecraft/class_8514$class_5719;method_32969(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;F)Vnamed acceptLnet/minecraft/class_8514$Callback;accept(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;F)V
-
getTag
- Mappings:
Namespace Name Mixin selector official cLdgj$d;c()Lanj;intermediary method_42210Lnet/minecraft/class_8514$class_5719;method_42210()Lnet/minecraft/class_6862;named getTagLnet/minecraft/class_8514$Callback;getTag()Lnet/minecraft/registry/tag/TagKey;
-
triggersAvoidCriterion
default boolean triggersAvoidCriterion()- Mappings:
Namespace Name Mixin selector official dLdgj$d;d()Zintermediary method_43695Lnet/minecraft/class_8514$class_5719;method_43695()Znamed triggersAvoidCriterionLnet/minecraft/class_8514$Callback;triggersAvoidCriterion()Z
-
method_51363
default boolean method_51363()- Mappings:
Namespace Name Mixin selector official fLdgj$d;f()Zintermediary method_51363Lnet/minecraft/class_8514$class_5719;method_51363()Znamed method_51363Lnet/minecraft/class_8514$Callback;method_51363()Z
-
method_51410
default int method_51410(float float2) - Mappings:
Namespace Name Mixin selector official aLdgj$d;a(F)Iintermediary method_51410Lnet/minecraft/class_8514$class_5719;method_51410(F)Inamed method_51410Lnet/minecraft/class_8514$Callback;method_51410(F)I
-
canAccept
- Mappings:
Namespace Name Mixin selector official aLdgj$d;a(Ldga;Ldga$a;)Zintermediary method_42324Lnet/minecraft/class_8514$class_5719;method_42324(Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;)Znamed canAcceptLnet/minecraft/class_8514$Callback;canAccept(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
-
onListen
default void onListen()- Mappings:
Namespace Name Mixin selector official eLdgj$d;e()Vintermediary method_42672Lnet/minecraft/class_8514$class_5719;method_42672()Vnamed onListenLnet/minecraft/class_8514$Callback;onListen()V
-