Package net.minecraft.entity.passive
Class AllayEntity.VibrationListenerCallback
java.lang.Object
net.minecraft.entity.passive.AllayEntity.VibrationListenerCallback
- All Implemented Interfaces:
class_8514.Callback
- Enclosing class:
AllayEntity
- Mappings:
Namespace Name official bsh$bintermediary net/minecraft/class_7298$class_7524named net/minecraft/entity/passive/AllayEntity$VibrationListenerCallback
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ServerWorld world, BlockPos blockPos, GameEvent gameEvent, Entity entity2, 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.intgetRange()getTag()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_8514.Callback
canAccept, method_51363, method_51410, onListen, triggersAvoidCriterion
-
Field Details
-
RANGE
private static final int RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official bLbsh$b;b:Iintermediary field_43190Lnet/minecraft/class_7298$class_7524;field_43190:Inamed RANGELnet/minecraft/entity/passive/AllayEntity$VibrationListenerCallback;RANGE:I
-
field_44597
- Mappings:
Namespace Name Mixin selector official cLbsh$b;c:Ldge;intermediary field_44597Lnet/minecraft/class_7298$class_7524;field_44597:Lnet/minecraft/class_5716;named field_44597Lnet/minecraft/entity/passive/AllayEntity$VibrationListenerCallback;field_44597:Lnet/minecraft/world/event/PositionSource;
-
-
Constructor Details
-
VibrationListenerCallback
VibrationListenerCallback()
-
-
Method Details
-
getRange
public int getRange()- Specified by:
getRangein interfaceclass_8514.Callback- 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
- Specified by:
method_51300in interfaceclass_8514.Callback- 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
public boolean accepts(ServerWorld world, BlockPos blockPos, GameEvent gameEvent, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.- Specified by:
acceptsin interfaceclass_8514.Callback- 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
public void accept(ServerWorld world, BlockPos blockPos, GameEvent gameEvent, Entity entity2, Entity entity, float float2) Accepts a game event after delay.- Specified by:
acceptin interfaceclass_8514.Callback- 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
- Specified by:
getTagin interfaceclass_8514.Callback- 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;
-