Package net.minecraft
Class class_6997
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.class_6997
- All Implemented Interfaces:
GameEventListener
- Mappings:
Namespace Name official cohintermediary net/minecraft/class_6997named net/minecraft/class_6997
-
Field Summary
FieldsFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the position source of this listener.intgetRange()Returns the range, in blocks, of the listener.booleanListens to an incoming game event.static voidmethod_40821(World world, BlockPos blockPos, BlockState blockState, class_6997 class_6997) voidreadNbt(NbtCompound nbt) protected voidwriteNbt(NbtCompound nbt) Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, posFromNbt, setCachedState, setStackNbt, setWorld, toInitialChunkDataNbt, toUpdatePacket, writeIdToNbt
-
Field Details
-
field_36882
- Mappings:
Namespace Name Mixin selector official aLcoh;a:Lctp;intermediary field_36882Lnet/minecraft/class_6997;field_36882:Lnet/minecraft/class_5707;named field_36882Lnet/minecraft/class_6997;field_36882:Lnet/minecraft/world/event/BlockPositionSource;
-
field_36883
- Mappings:
Namespace Name Mixin selector official bLcoh;b:Lckh;intermediary field_36883Lnet/minecraft/class_6997;field_36883:Lnet/minecraft/class_6993;named field_36883Lnet/minecraft/class_6997;field_36883:Lnet/minecraft/class_6993;
-
-
Constructor Details
-
class_6997
-
-
Method Details
-
getPositionSource
Returns the position source of this listener.- Specified by:
getPositionSourcein interfaceGameEventListener- Mappings:
Namespace Name Mixin selector official cLctu;c()Lctw;intermediary method_32946Lnet/minecraft/class_5714;method_32946()Lnet/minecraft/class_5716;named getPositionSourceLnet/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:
getRangein interfaceGameEventListener- Mappings:
Namespace Name Mixin selector official dLctu;d()Iintermediary method_32948Lnet/minecraft/class_5714;method_32948()Inamed getRangeLnet/minecraft/world/event/listener/GameEventListener;getRange()I
-
listen
Listens to an incoming game event.- Specified by:
listenin interfaceGameEventListener- Returns:
trueif the game event has been accepted by this listener- Mappings:
Namespace Name Mixin selector official aLctu;a(Lcbf;Lcts;Laxe;Ldqf;)Zintermediary method_32947Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_1937;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;Lnet/minecraft/class_243;)Znamed listenLnet/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 aLcoh;a(Lcbf;Lgh;Lcpp;Lcoh;)Vintermediary method_40821Lnet/minecraft/class_6997;method_40821(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_6997;)Vnamed method_40821Lnet/minecraft/class_6997;method_40821(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/class_6997;)V
-
readNbt
- Overrides:
readNbtin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcnj;a(Loh;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed readNbtLnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeNbt
- Overrides:
writeNbtin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLcnj;b(Loh;)Vintermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Vnamed writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_40824
- Mappings:
Namespace Name Mixin selector official fLcoh;f()Lckh;intermediary method_40824Lnet/minecraft/class_6997;method_40824()Lnet/minecraft/class_6993;named method_40824Lnet/minecraft/class_6997;method_40824()Lnet/minecraft/class_6993;
-