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
official dao$a
intermediary net/minecraft/class_7132$class_8510
named net/minecraft/block/entity/SculkCatalystBlockEntity$Listener
  • Field Details

    • RANGE

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

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

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

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

    • Listener

      public Listener(BlockState state, PositionSource positionSource)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldao$a;<init>(Ldby;Ldgm;)V
      intermediary <init> Lnet/minecraft/class_7132$class_8510;<init>(Lnet/minecraft/class_2680;Lnet/minecraft/class_5716;)V
      named <init> Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;<init>(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/event/PositionSource;)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
      official a Ldgk;a()Ldgm;
      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 Ldgk;b()I
      intermediary method_32948 Lnet/minecraft/class_5714;method_32948()I
      named getRange Lnet/minecraft/world/event/listener/GameEventListener;getRange()I
    • getTriggerOrder

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

      public boolean listen(ServerWorld world, 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
      official a Ldgk;a(Laif;Ldgi;Ldgi$a;Leea;)Z
      intermediary method_32947 Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_3218;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;Lnet/minecraft/class_243;)Z
      named listen Lnet/minecraft/world/event/listener/GameEventListener;listen(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;Lnet/minecraft/util/math/Vec3d;)Z
    • getSpreadManager

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

      private void bloom(ServerWorld world, BlockPos pos, BlockState state, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Ldao$a;a(Laif;Lgu;Ldby;Lapf;)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
      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
    • triggerCriteria

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