Package net.minecraft.entity.passive
Class AllayEntity.class_7525
java.lang.Object
net.minecraft.entity.passive.AllayEntity.class_7525
- All Implemented Interfaces:
GameEventListener
- Enclosing class:
AllayEntity
- Mappings:
Namespace Name official bnl$bintermediary net/minecraft/class_7298$class_7525named net/minecraft/entity/passive/AllayEntity$class_7525
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the position source of this listener.intgetRange()Returns the range, in blocks, of the listener.booleanlisten(ServerWorld world, GameEvent.Message event) Listens to an incoming game event.Methods 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.GameEventListener
shouldListenImmediately
-
Field Details
-
field_39478
- Mappings:
Namespace Name Mixin selector official bLbnl$b;b:Lczb;intermediary field_39478Lnet/minecraft/class_7298$class_7525;field_39478:Lnet/minecraft/class_5716;named field_39478Lnet/minecraft/entity/passive/AllayEntity$class_7525;field_39478:Lnet/minecraft/world/event/PositionSource;
-
field_39479
private final int field_39479- Mappings:
Namespace Name Mixin selector official cLbnl$b;c:Iintermediary field_39479Lnet/minecraft/class_7298$class_7525;field_39479:Inamed field_39479Lnet/minecraft/entity/passive/AllayEntity$class_7525;field_39479:I
-
-
Constructor Details
-
class_7525
-
-
Method Details
-
getPositionSource
Returns the position source of this listener.- Specified by:
getPositionSourcein interfaceGameEventListener- Mappings:
Namespace Name Mixin selector official aLcza;a()Lczb;intermediary method_32946Lnet/minecraft/class_5714;method_32946()Lnet/minecraft/class_5716;named getPositionSourceLnet/minecraft/world/event/listener/GameEventListener;getPositionSource()Lnet/minecraft/world/event/PositionSource;
-
getRange
public int getRange()Returns the range, in blocks, of the listener.- Specified by:
getRangein interfaceGameEventListener- Mappings:
Namespace Name Mixin selector official bLcza;b()Iintermediary method_32948Lnet/minecraft/class_5714;method_32948()Inamed getRangeLnet/minecraft/world/event/listener/GameEventListener;getRange()I
-
listen
Listens to an incoming game event.- Specified by:
listenin interfaceGameEventListener- Returns:
trueif the game event has been accepted by this listener- Mappings:
Namespace Name Mixin selector official aLcza;a(Lafo;Lcyy$b;)Zintermediary method_32947Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_3218;Lnet/minecraft/class_5712$class_7447;)Znamed listenLnet/minecraft/world/event/listener/GameEventListener;listen(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/GameEvent$Message;)Z
-