Package net.minecraft.block.entity
Class ConduitBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.ConduitBlockEntity
public class ConduitBlockEntity extends BlockEntity
- Mappings:
Namespace Name official cga
intermediary net/minecraft/class_2597
named net/minecraft/block/entity/ConduitBlockEntity
-
Field Summary
Fields Modifier and Type Field Description private static Block[]
ACTIVATING_BLOCKS
private List<BlockPos>
activatingBlocks
private boolean
active
private boolean
eyeOpen
private long
nextAmbientSoundTime
private LivingEntity
targetEntity
private UUID
targetUuid
int
ticks
private float
ticksActive
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
Constructors Constructor Description ConduitBlockEntity(BlockPos pos, BlockState state)
-
Method Summary
Modifier and Type Method Description private static void
attackHostileEntity(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity)
static void
clientTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity)
private static LivingEntity
findTargetEntity(World world, BlockPos pos, UUID uuid)
void
fromTag(CompoundTag tag)
private static Box
getAttackZone(BlockPos pos)
float
getRotation(float tickDelta)
private static void
givePlayersEffects(World world, BlockPos pos, List<BlockPos> activatingBlocks)
boolean
isActive()
boolean
isEyeOpen()
private static void
openEye(ConduitBlockEntity blockEntity, List<BlockPos> activatingBlocks)
static void
serverTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity)
private void
setEyeOpen(boolean eyeOpen)
private static void
spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, Entity entity, int int2)
CompoundTag
toInitialChunkDataTag()
CompoundTag
toTag(CompoundTag tag)
BlockEntityUpdateS2CPacket
toUpdatePacket()
private static boolean
updateActivatingBlocks(World world, BlockPos pos, List<BlockPos> activatingBlocks)
private static void
updateTargetEntity(World world, BlockPos pos, ConduitBlockEntity blockEntity)
Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld
-
Field Details
-
ACTIVATING_BLOCKS
- Mappings:
Namespace Name Mixin selector official b
Lcga;b:[Lbwu;
intermediary field_11931
Lnet/minecraft/class_2597;field_11931:[Lnet/minecraft/class_2248;
named ACTIVATING_BLOCKS
Lnet/minecraft/block/entity/ConduitBlockEntity;ACTIVATING_BLOCKS:[Lnet/minecraft/block/Block;
-
ticks
public int ticks- Mappings:
Namespace Name Mixin selector official a
Lcga;a:I
intermediary field_11936
Lnet/minecraft/class_2597;field_11936:I
named ticks
Lnet/minecraft/block/entity/ConduitBlockEntity;ticks:I
-
ticksActive
private float ticksActive- Mappings:
Namespace Name Mixin selector official c
Lcga;c:F
intermediary field_11932
Lnet/minecraft/class_2597;field_11932:F
named ticksActive
Lnet/minecraft/block/entity/ConduitBlockEntity;ticksActive:F
-
active
private boolean active- Mappings:
Namespace Name Mixin selector official g
Lcga;g:Z
intermediary field_11934
Lnet/minecraft/class_2597;field_11934:Z
named active
Lnet/minecraft/block/entity/ConduitBlockEntity;active:Z
-
eyeOpen
private boolean eyeOpen- Mappings:
Namespace Name Mixin selector official h
Lcga;h:Z
intermediary field_11933
Lnet/minecraft/class_2597;field_11933:Z
named eyeOpen
Lnet/minecraft/block/entity/ConduitBlockEntity;eyeOpen:Z
-
activatingBlocks
- Mappings:
Namespace Name Mixin selector official i
Lcga;i:Ljava/util/List;
intermediary field_11937
Lnet/minecraft/class_2597;field_11937:Ljava/util/List;
named activatingBlocks
Lnet/minecraft/block/entity/ConduitBlockEntity;activatingBlocks:Ljava/util/List;
-
targetEntity
- Mappings:
Namespace Name Mixin selector official j
Lcga;j:Lari;
intermediary field_11939
Lnet/minecraft/class_2597;field_11939:Lnet/minecraft/class_1309;
named targetEntity
Lnet/minecraft/block/entity/ConduitBlockEntity;targetEntity:Lnet/minecraft/entity/LivingEntity;
-
targetUuid
- Mappings:
Namespace Name Mixin selector official k
Lcga;k:Ljava/util/UUID;
intermediary field_11935
Lnet/minecraft/class_2597;field_11935:Ljava/util/UUID;
named targetUuid
Lnet/minecraft/block/entity/ConduitBlockEntity;targetUuid:Ljava/util/UUID;
-
nextAmbientSoundTime
private long nextAmbientSoundTime- Mappings:
Namespace Name Mixin selector official l
Lcga;l:J
intermediary field_11938
Lnet/minecraft/class_2597;field_11938:J
named nextAmbientSoundTime
Lnet/minecraft/block/entity/ConduitBlockEntity;nextAmbientSoundTime:J
-
-
Constructor Details
-
ConduitBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcga;<init>(Lfx;Lcht;)V
intermediary <init>
Lnet/minecraft/class_2597;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/entity/ConduitBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
fromTag
- Overrides:
fromTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcfr;a(Lmq;)V
intermediary method_11014
Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
named fromTag
Lnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
toTag
- Overrides:
toTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcfr;b(Lmq;)Lmq;
intermediary method_11007
Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
named toTag
Lnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
toUpdatePacket
- Overrides:
toUpdatePacket
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcfr;a()Lpo;
intermediary method_16886
Lnet/minecraft/class_2586;method_16886()Lnet/minecraft/class_2622;
named toUpdatePacket
Lnet/minecraft/block/entity/BlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
-
toInitialChunkDataTag
- Overrides:
toInitialChunkDataTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcfr;b()Lmq;
intermediary method_16887
Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;
named toInitialChunkDataTag
Lnet/minecraft/block/entity/BlockEntity;toInitialChunkDataTag()Lnet/minecraft/nbt/CompoundTag;
-
clientTick
public static void clientTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity)- Mappings:
Namespace Name Mixin selector official a
Lcga;a(Lbtv;Lfx;Lcht;Lcga;)V
intermediary method_31675
Lnet/minecraft/class_2597;method_31675(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2597;)V
named clientTick
Lnet/minecraft/block/entity/ConduitBlockEntity;clientTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/ConduitBlockEntity;)V
-
serverTick
public static void serverTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity)- Mappings:
Namespace Name Mixin selector official b
Lcga;b(Lbtv;Lfx;Lcht;Lcga;)V
intermediary method_31677
Lnet/minecraft/class_2597;method_31677(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2597;)V
named serverTick
Lnet/minecraft/block/entity/ConduitBlockEntity;serverTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/ConduitBlockEntity;)V
-
openEye
- Mappings:
Namespace Name Mixin selector official a
Lcga;a(Lcga;Ljava/util/List;)V
intermediary method_31676
Lnet/minecraft/class_2597;method_31676(Lnet/minecraft/class_2597;Ljava/util/List;)V
named openEye
Lnet/minecraft/block/entity/ConduitBlockEntity;openEye(Lnet/minecraft/block/entity/ConduitBlockEntity;Ljava/util/List;)V
-
updateActivatingBlocks
private static boolean updateActivatingBlocks(World world, BlockPos pos, List<BlockPos> activatingBlocks)- Mappings:
Namespace Name Mixin selector official a
Lcga;a(Lbtv;Lfx;Ljava/util/List;)Z
intermediary method_11069
Lnet/minecraft/class_2597;method_11069(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/List;)Z
named updateActivatingBlocks
Lnet/minecraft/block/entity/ConduitBlockEntity;updateActivatingBlocks(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/List;)Z
-
givePlayersEffects
- Mappings:
Namespace Name Mixin selector official b
Lcga;b(Lbtv;Lfx;Ljava/util/List;)V
intermediary method_11055
Lnet/minecraft/class_2597;method_11055(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/List;)V
named givePlayersEffects
Lnet/minecraft/block/entity/ConduitBlockEntity;givePlayersEffects(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/List;)V
-
attackHostileEntity
private static void attackHostileEntity(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity)- Mappings:
Namespace Name Mixin selector official a
Lcga;a(Lbtv;Lfx;Lcht;Ljava/util/List;Lcga;)V
intermediary method_11068
Lnet/minecraft/class_2597;method_11068(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Ljava/util/List;Lnet/minecraft/class_2597;)V
named attackHostileEntity
Lnet/minecraft/block/entity/ConduitBlockEntity;attackHostileEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/List;Lnet/minecraft/block/entity/ConduitBlockEntity;)V
-
updateTargetEntity
- Mappings:
Namespace Name Mixin selector official a
Lcga;a(Lbtv;Lfx;Lcga;)V
intermediary method_11064
Lnet/minecraft/class_2597;method_11064(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2597;)V
named updateTargetEntity
Lnet/minecraft/block/entity/ConduitBlockEntity;updateTargetEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/ConduitBlockEntity;)V
-
getAttackZone
- Mappings:
Namespace Name Mixin selector official a
Lcga;a(Lfx;)Ldip;
intermediary method_11059
Lnet/minecraft/class_2597;method_11059(Lnet/minecraft/class_2338;)Lnet/minecraft/class_238;
named getAttackZone
Lnet/minecraft/block/entity/ConduitBlockEntity;getAttackZone(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
-
findTargetEntity
- Mappings:
Namespace Name Mixin selector official a
Lcga;a(Lbtv;Lfx;Ljava/util/UUID;)Lari;
intermediary method_11056
Lnet/minecraft/class_2597;method_11056(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/UUID;)Lnet/minecraft/class_1309;
named findTargetEntity
Lnet/minecraft/block/entity/ConduitBlockEntity;findTargetEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/UUID;)Lnet/minecraft/entity/LivingEntity;
-
spawnNautilusParticles
private static void spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int int2)- Mappings:
Namespace Name Mixin selector official a
Lcga;a(Lbtv;Lfx;Ljava/util/List;Laqv;I)V
intermediary method_11063
Lnet/minecraft/class_2597;method_11063(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/List;Lnet/minecraft/class_1297;I)V
named spawnNautilusParticles
Lnet/minecraft/block/entity/ConduitBlockEntity;spawnNautilusParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/List;Lnet/minecraft/entity/Entity;I)V
-
isActive
public boolean isActive()- Mappings:
Namespace Name Mixin selector official d
Lcga;d()Z
intermediary method_11065
Lnet/minecraft/class_2597;method_11065()Z
named isActive
Lnet/minecraft/block/entity/ConduitBlockEntity;isActive()Z
-
isEyeOpen
- Mappings:
Namespace Name Mixin selector official f
Lcga;f()Z
intermediary method_11066
Lnet/minecraft/class_2597;method_11066()Z
named isEyeOpen
Lnet/minecraft/block/entity/ConduitBlockEntity;isEyeOpen()Z
-
setEyeOpen
private void setEyeOpen(boolean eyeOpen)- Mappings:
Namespace Name Mixin selector official a
Lcga;a(Z)V
intermediary method_11062
Lnet/minecraft/class_2597;method_11062(Z)V
named setEyeOpen
Lnet/minecraft/block/entity/ConduitBlockEntity;setEyeOpen(Z)V
-
getRotation
- Mappings:
Namespace Name Mixin selector official a
Lcga;a(F)F
intermediary method_11061
Lnet/minecraft/class_2597;method_11061(F)F
named getRotation
Lnet/minecraft/block/entity/ConduitBlockEntity;getRotation(F)F
-