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$d
intermediary net/minecraft/class_8514$class_5719
named net/minecraft/class_8514$Callback
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ServerWorld world, BlockPos blockPos, GameEvent gameEvent, @Nullable Entity entity2, @Nullable Entity entity, float float2) Accepts a game event after delay.boolean
accepts
(ServerWorld world, BlockPos blockPos, GameEvent gameEvent, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.default boolean
canAccept
(GameEvent gameEvent, GameEvent.Emitter emitter) int
getRange()
getTag()
default boolean
default int
method_51410
(float float2) default void
onListen()
default boolean
-
Method Details
-
getRange
int getRange()- Mappings:
Namespace Name Mixin selector official a
Ldgj$d;a()I
intermediary method_49797
Lnet/minecraft/class_8514$class_5719;method_49797()I
named getRange
Lnet/minecraft/class_8514$Callback;getRange()I
-
method_51300
PositionSource method_51300()- Mappings:
Namespace Name Mixin selector official b
Ldgj$d;b()Ldge;
intermediary method_51300
Lnet/minecraft/class_8514$class_5719;method_51300()Lnet/minecraft/class_5716;
named method_51300
Lnet/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 a
Ldgj$d;a(Laid;Lgu;Ldga;Ldga$a;)Z
intermediary method_32970
Lnet/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;)Z
named accepts
Lnet/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 a
Ldgj$d;a(Laid;Lgu;Ldga;Lbfb;Lbfb;F)V
intermediary method_32969
Lnet/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)V
named accept
Lnet/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 c
Ldgj$d;c()Lanj;
intermediary method_42210
Lnet/minecraft/class_8514$class_5719;method_42210()Lnet/minecraft/class_6862;
named getTag
Lnet/minecraft/class_8514$Callback;getTag()Lnet/minecraft/registry/tag/TagKey;
-
triggersAvoidCriterion
default boolean triggersAvoidCriterion()- Mappings:
Namespace Name Mixin selector official d
Ldgj$d;d()Z
intermediary method_43695
Lnet/minecraft/class_8514$class_5719;method_43695()Z
named triggersAvoidCriterion
Lnet/minecraft/class_8514$Callback;triggersAvoidCriterion()Z
-
method_51363
default boolean method_51363()- Mappings:
Namespace Name Mixin selector official f
Ldgj$d;f()Z
intermediary method_51363
Lnet/minecraft/class_8514$class_5719;method_51363()Z
named method_51363
Lnet/minecraft/class_8514$Callback;method_51363()Z
-
method_51410
default int method_51410(float float2) - Mappings:
Namespace Name Mixin selector official a
Ldgj$d;a(F)I
intermediary method_51410
Lnet/minecraft/class_8514$class_5719;method_51410(F)I
named method_51410
Lnet/minecraft/class_8514$Callback;method_51410(F)I
-
canAccept
- Mappings:
Namespace Name Mixin selector official a
Ldgj$d;a(Ldga;Ldga$a;)Z
intermediary method_42324
Lnet/minecraft/class_8514$class_5719;method_42324(Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;)Z
named canAccept
Lnet/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 e
Ldgj$d;e()V
intermediary method_42672
Lnet/minecraft/class_8514$class_5719;method_42672()V
named onListen
Lnet/minecraft/class_8514$Callback;onListen()V
-