Class Allay.JukeboxListener
java.lang.Object
net.minecraft.world.entity.animal.allay.Allay.JukeboxListener
- All Implemented Interfaces:
GameEventListener
- Enclosing class:
- Allay
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
handleGameEvent
(ServerLevel p_240002_, GameEvent.Message p_240003_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.gameevent.GameEventListener
handleEventsImmediately
-
Field Details
-
listenerSource
-
listenerRadius
private final int listenerRadius
-
-
Constructor Details
-
JukeboxListener
-
-
Method Details
-
getListenerSource
- Specified by:
getListenerSource
in interfaceGameEventListener
-
getListenerRadius
public int getListenerRadius()- Specified by:
getListenerRadius
in interfaceGameEventListener
-
handleGameEvent
- Specified by:
handleGameEvent
in interfaceGameEventListener
-