Class AllayEntity.class_7525

java.lang.Object
net.minecraft.entity.passive.AllayEntity.class_7525
All Implemented Interfaces:
GameEventListener
Enclosing class:
AllayEntity

private class AllayEntity.class_7525 extends Object implements GameEventListener
Mappings:
Namespace Name
official bnl$b
intermediary net/minecraft/class_7298$class_7525
named net/minecraft/entity/passive/AllayEntity$class_7525
  • Field Details

    • field_39478

      private final PositionSource field_39478
      Mappings:
      Namespace Name Mixin selector
      official b Lbnl$b;b:Lczb;
      intermediary field_39478 Lnet/minecraft/class_7298$class_7525;field_39478:Lnet/minecraft/class_5716;
      named field_39478 Lnet/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 c Lbnl$b;c:I
      intermediary field_39479 Lnet/minecraft/class_7298$class_7525;field_39479:I
      named field_39479 Lnet/minecraft/entity/passive/AllayEntity$class_7525;field_39479:I
  • Constructor Details

    • class_7525

      public class_7525(PositionSource positionSource, int int2)
  • Method Details

    • getPositionSource

      public PositionSource getPositionSource()
      Returns the position source of this listener.
      Specified by:
      getPositionSource in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      official a Lcza;a()Lczb;
      intermediary method_32946 Lnet/minecraft/class_5714;method_32946()Lnet/minecraft/class_5716;
      named getPositionSource Lnet/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:
      getRange in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      official b Lcza;b()I
      intermediary method_32948 Lnet/minecraft/class_5714;method_32948()I
      named getRange Lnet/minecraft/world/event/listener/GameEventListener;getRange()I
    • listen

      public boolean listen(ServerWorld world, GameEvent.Message event)
      Listens to an incoming game event.
      Specified by:
      listen in interface GameEventListener
      Returns:
      true if the game event has been accepted by this listener
      Mappings:
      Namespace Name Mixin selector
      official a Lcza;a(Lafo;Lcyy$b;)Z
      intermediary method_32947 Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_3218;Lnet/minecraft/class_5712$class_7447;)Z
      named listen Lnet/minecraft/world/event/listener/GameEventListener;listen(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/GameEvent$Message;)Z