Package net.minecraft

Class class_6997

All Implemented Interfaces:
GameEventListener

public class class_6997 extends BlockEntity implements GameEventListener
Mappings:
Namespace Name
official coh
intermediary net/minecraft/class_6997
named net/minecraft/class_6997
  • Field Details

    • field_36882

      private final BlockPositionSource field_36882
      Mappings:
      Namespace Name Mixin selector
      official a Lcoh;a:Lctp;
      intermediary field_36882 Lnet/minecraft/class_6997;field_36882:Lnet/minecraft/class_5707;
      named field_36882 Lnet/minecraft/class_6997;field_36882:Lnet/minecraft/world/event/BlockPositionSource;
    • field_36883

      private final class_6993 field_36883
      Mappings:
      Namespace Name Mixin selector
      official b Lcoh;b:Lckh;
      intermediary field_36883 Lnet/minecraft/class_6997;field_36883:Lnet/minecraft/class_6993;
      named field_36883 Lnet/minecraft/class_6997;field_36883:Lnet/minecraft/class_6993;
  • Constructor Details

  • 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 c Lctu;c()Lctw;
      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 d Lctu;d()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(World world, GameEvent event, @Nullable @Nullable Entity entity, Vec3d vec3d)
      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 Lctu;a(Lcbf;Lcts;Laxe;Ldqf;)Z
      intermediary method_32947 Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_1937;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;Lnet/minecraft/class_243;)Z
      named listen Lnet/minecraft/world/event/listener/GameEventListener;listen(Lnet/minecraft/world/World;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;)Z
    • method_40821

      public static void method_40821(World world, BlockPos blockPos, BlockState blockState, class_6997 class_6997)
      Mappings:
      Namespace Name Mixin selector
      official a Lcoh;a(Lcbf;Lgh;Lcpp;Lcoh;)V
      intermediary method_40821 Lnet/minecraft/class_6997;method_40821(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_6997;)V
      named method_40821 Lnet/minecraft/class_6997;method_40821(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/class_6997;)V
    • readNbt

      public void readNbt(NbtCompound nbt)
      Overrides:
      readNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lcnj;a(Loh;)V
      intermediary method_11014 Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
      named readNbt Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • writeNbt

      protected void writeNbt(NbtCompound nbt)
      Overrides:
      writeNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lcnj;b(Loh;)V
      intermediary method_11007 Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)V
      named writeNbt Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • method_40824

      public class_6993 method_40824()
      Mappings:
      Namespace Name Mixin selector
      official f Lcoh;f()Lckh;
      intermediary method_40824 Lnet/minecraft/class_6997;method_40824()Lnet/minecraft/class_6993;
      named method_40824 Lnet/minecraft/class_6997;method_40824()Lnet/minecraft/class_6993;