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 drm$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 Ldrm$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 Ldrm$a;b:Ldms;
    • 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 Ldrm$a;c:Ldta;
    • 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 Ldrm$a;d:Ldya;
  • 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> Ldrm$a;<init>(Ldta;Ldya;)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 Ldxy;a()Ldya;
    • 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 Ldxy;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 Ldxy;c()Ldxy$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 Ldxy;a(Laqt;Ljm;Ldxw$a;Leww;)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 Ldrm$a;d()Ldms;
    • 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 Ldrm$a;a(Laqt;Ljd;Ldta;Layv;)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 Ldrm$a;a(Ldcu;Lbtl;)V