Class SculkCatalystBlockEntity.Listener

java.lang.Object
net.minecraft.block.entity.SculkCatalystBlockEntity.Listener
All Implemented Interfaces:
GameEventListener
Enclosing class:
SculkCatalystBlockEntity

public static class SculkCatalystBlockEntity.Listener extends Object implements GameEventListener
Mappings:
Namespace Name
named net/minecraft/block/entity/SculkCatalystBlockEntity$Listener
intermediary net/minecraft/class_7132$class_8510
official dro$a
  • Field Details

    • RANGE

      public static final int RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RANGE Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;RANGE:I
      intermediary field_44611 Lnet/minecraft/class_7132$class_8510;field_44611:I
      official a Ldro$a;a:I
    • spreadManager

      final SculkSpreadManager spreadManager
      Mappings:
      Namespace Name Mixin selector
      named spreadManager Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;spreadManager:Lnet/minecraft/block/entity/SculkSpreadManager;
      intermediary field_44612 Lnet/minecraft/class_7132$class_8510;field_44612:Lnet/minecraft/class_7128;
      official b Ldro$a;b:Ldmu;
    • state

      private final BlockState state
      Mappings:
      Namespace Name Mixin selector
      named state Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;state:Lnet/minecraft/block/BlockState;
      intermediary field_44613 Lnet/minecraft/class_7132$class_8510;field_44613:Lnet/minecraft/class_2680;
      official c Ldro$a;c:Ldtc;
    • positionSource

      private final PositionSource positionSource
      Mappings:
      Namespace Name Mixin selector
      named positionSource Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;positionSource:Lnet/minecraft/world/event/PositionSource;
      intermediary field_44614 Lnet/minecraft/class_7132$class_8510;field_44614:Lnet/minecraft/class_5716;
      official d Ldro$a;d:Ldyd;
  • Constructor Details

    • Listener

      public Listener(BlockState state, PositionSource positionSource)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;<init>(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/event/PositionSource;)V
      intermediary <init> Lnet/minecraft/class_7132$class_8510;<init>(Lnet/minecraft/class_2680;Lnet/minecraft/class_5716;)V
      official <init> Ldro$a;<init>(Ldtc;Ldyd;)V
  • Method Details

    • getPositionSource

      public PositionSource getPositionSource()
      Returns the position source of this listener.
      Specified by:
      getPositionSource in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      named getPositionSource Lnet/minecraft/world/event/listener/GameEventListener;getPositionSource()Lnet/minecraft/world/event/PositionSource;
      intermediary method_32946 Lnet/minecraft/class_5714;method_32946()Lnet/minecraft/class_5716;
      official a Ldyb;a()Ldyd;
    • getRange

      public int getRange()
      Returns the range, in blocks, of the listener.
      Specified by:
      getRange in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      named getRange Lnet/minecraft/world/event/listener/GameEventListener;getRange()I
      intermediary method_32948 Lnet/minecraft/class_5714;method_32948()I
      official b Ldyb;b()I
    • getTriggerOrder

      public GameEventListener.TriggerOrder getTriggerOrder()
      Specified by:
      getTriggerOrder in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      named getTriggerOrder Lnet/minecraft/world/event/listener/GameEventListener;getTriggerOrder()Lnet/minecraft/world/event/listener/GameEventListener$TriggerOrder;
      intermediary method_45472 Lnet/minecraft/class_5714;method_45472()Lnet/minecraft/class_5714$class_7720;
      official c Ldyb;c()Ldyb$a;
    • listen

      public boolean listen(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos)
      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
      named listen Lnet/minecraft/world/event/listener/GameEventListener;listen(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/world/event/GameEvent$Emitter;Lnet/minecraft/util/math/Vec3d;)Z
      intermediary method_32947 Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_3218;Lnet/minecraft/class_6880;Lnet/minecraft/class_5712$class_7397;Lnet/minecraft/class_243;)Z
      official a Ldyb;a(Laqu;Ljm;Ldxz$a;Lexc;)Z
    • getSpreadManager

      public SculkSpreadManager getSpreadManager()
      Mappings:
      Namespace Name Mixin selector
      named getSpreadManager Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;getSpreadManager()Lnet/minecraft/block/entity/SculkSpreadManager;
      intermediary method_51362 Lnet/minecraft/class_7132$class_8510;method_51362()Lnet/minecraft/class_7128;
      official d Ldro$a;d()Ldmu;
    • bloom

      private void bloom(ServerWorld world, BlockPos pos, BlockState state, Random random)
      Mappings:
      Namespace Name Mixin selector
      named bloom Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;bloom(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/random/Random;)V
      intermediary method_51360 Lnet/minecraft/class_7132$class_8510;method_51360(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_5819;)V
      official a Ldro$a;a(Laqu;Ljd;Ldtc;Layw;)V
    • triggerCriteria

      private void triggerCriteria(World world, LivingEntity deadEntity)
      Mappings:
      Namespace Name Mixin selector
      named triggerCriteria Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;triggerCriteria(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_51361 Lnet/minecraft/class_7132$class_8510;method_51361(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;)V
      official a Ldro$a;a(Ldcw;Lbtn;)V