Package net.minecraft.block.entity
Class EndGatewayBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.EndPortalBlockEntity
net.minecraft.block.entity.EndGatewayBlockEntity
public class EndGatewayBlockEntity extends EndPortalBlockEntity
- Mappings:
Namespace Name official cgjintermediary net/minecraft/class_2643named net/minecraft/block/entity/EndGatewayBlockEntity
-
Field Summary
Fields Modifier and Type Field Description private longageprivate booleanexactTeleportprivate BlockPosexitPortalPosprivate static LoggerLOGGERprivate intteleportCooldownFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors Constructor Description EndGatewayBlockEntity(BlockPos blockPos, BlockState blockState) -
Method Summary
Modifier and Type Method Description static voidclientTick(World world, BlockPos blockPos, BlockState blockState, EndGatewayBlockEntity endGatewayBlockEntity)private static voidcreatePortal(ServerWorld serverWorld, BlockPos blockPos, EndGatewayFeatureConfig endGatewayFeatureConfig)private static BlockPosfindBestPortalExitPos(World world, BlockPos blockPos)private static BlockPosfindExitPortalPos(BlockView world, BlockPos pos, int searchRadius, boolean bool)private static BlockPosfindPortalPosition(WorldChunk chunk)voidfromTag(CompoundTag tag)private static WorldChunkgetChunk(World world, Vec3d pos)floatgetCooldownBeamHeight(float tickDelta)intgetDrawnSidesCount()floatgetRecentlyGeneratedBeamHeight(float tickDelta)doublegetSquaredRenderDistance()booleanisRecentlyGenerated()static booleanmethod_30276(Entity entity)private static booleanmethod_31698(ServerWorld serverWorld, Vec3d vec3d)private static BlockPosmethod_31699(ServerWorld serverWorld, BlockPos blockPos)private static Vec3dmethod_31701(ServerWorld serverWorld, BlockPos blockPos)booleanneedsCooldownBeforeTeleporting()booleanonSyncedBlockEvent(int type, int data)static voidserverTick(World world, BlockPos blockPos, BlockState blockState, EndGatewayBlockEntity endGatewayBlockEntity)voidsetExitPortalPos(BlockPos pos, boolean exactTeleport)booleanshouldDrawSide(Direction direction)private static voidstartTeleportCooldown(World world, BlockPos blockPos, BlockState blockState, EndGatewayBlockEntity endGatewayBlockEntity)CompoundTagtoInitialChunkDataTag()CompoundTagtoTag(CompoundTag tag)BlockEntityUpdateS2CPackettoUpdatePacket()static voidtryTeleportingEntity(World world, BlockPos blockPos, BlockState blockState, Entity entity, EndGatewayBlockEntity endGatewayBlockEntity)Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, setCachedState, setWorld
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLcgj;a:Lorg/apache/logging/log4j/Logger;intermediary field_12133Lnet/minecraft/class_2643;field_12133:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/block/entity/EndGatewayBlockEntity;LOGGER:Lorg/apache/logging/log4j/Logger;
-
age
private long age- Mappings:
Namespace Name Mixin selector official bLcgj;b:Jintermediary field_12131Lnet/minecraft/class_2643;field_12131:Jnamed ageLnet/minecraft/block/entity/EndGatewayBlockEntity;age:J
-
teleportCooldown
private int teleportCooldown- Mappings:
Namespace Name Mixin selector official cLcgj;c:Iintermediary field_12130Lnet/minecraft/class_2643;field_12130:Inamed teleportCooldownLnet/minecraft/block/entity/EndGatewayBlockEntity;teleportCooldown:I
-
exitPortalPos
- Mappings:
Namespace Name Mixin selector official gLcgj;g:Lfx;intermediary field_12132Lnet/minecraft/class_2643;field_12132:Lnet/minecraft/class_2338;named exitPortalPosLnet/minecraft/block/entity/EndGatewayBlockEntity;exitPortalPos:Lnet/minecraft/util/math/BlockPos;
-
exactTeleport
private boolean exactTeleport- Mappings:
Namespace Name Mixin selector official hLcgj;h:Zintermediary field_12129Lnet/minecraft/class_2643;field_12129:Znamed exactTeleportLnet/minecraft/block/entity/EndGatewayBlockEntity;exactTeleport:Z
-
-
Constructor Details
-
EndGatewayBlockEntity
-
-
Method Details
-
toTag
- Overrides:
toTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLcfe;b(Lmq;)Lmq;intermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named toTagLnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
fromTag
- Overrides:
fromTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcfe;a(Lmq;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed fromTagLnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
getSquaredRenderDistance
@Environment(CLIENT) public double getSquaredRenderDistance()- Overrides:
getSquaredRenderDistancein classBlockEntity- Mappings:
Namespace Name Mixin selector official ap_Lcfe;ap_()Dintermediary method_11006Lnet/minecraft/class_2586;method_11006()Dnamed getSquaredRenderDistanceLnet/minecraft/block/entity/BlockEntity;getSquaredRenderDistance()D
-
clientTick
public static void clientTick(World world, BlockPos blockPos, BlockState blockState, EndGatewayBlockEntity endGatewayBlockEntity)- Mappings:
Namespace Name Mixin selector official aLcgj;a(Lbtu;Lfx;Lchg;Lcgj;)Vintermediary method_31700Lnet/minecraft/class_2643;method_31700(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2643;)Vnamed clientTickLnet/minecraft/block/entity/EndGatewayBlockEntity;clientTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/EndGatewayBlockEntity;)V
-
serverTick
public static void serverTick(World world, BlockPos blockPos, BlockState blockState, EndGatewayBlockEntity endGatewayBlockEntity)- Mappings:
Namespace Name Mixin selector official bLcgj;b(Lbtu;Lfx;Lchg;Lcgj;)Vintermediary method_31702Lnet/minecraft/class_2643;method_31702(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2643;)Vnamed serverTickLnet/minecraft/block/entity/EndGatewayBlockEntity;serverTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/EndGatewayBlockEntity;)V
-
method_30276
- Mappings:
Namespace Name Mixin selector official aLcgj;a(Laqu;)Zintermediary method_30276Lnet/minecraft/class_2643;method_30276(Lnet/minecraft/class_1297;)Znamed method_30276Lnet/minecraft/block/entity/EndGatewayBlockEntity;method_30276(Lnet/minecraft/entity/Entity;)Z
-
isRecentlyGenerated
public boolean isRecentlyGenerated()- Mappings:
Namespace Name Mixin selector official dLcgj;d()Zintermediary method_11420Lnet/minecraft/class_2643;method_11420()Znamed isRecentlyGeneratedLnet/minecraft/block/entity/EndGatewayBlockEntity;isRecentlyGenerated()Z
-
needsCooldownBeforeTeleporting
public boolean needsCooldownBeforeTeleporting()- Mappings:
Namespace Name Mixin selector official fLcgj;f()Zintermediary method_11421Lnet/minecraft/class_2643;method_11421()Znamed needsCooldownBeforeTeleportingLnet/minecraft/block/entity/EndGatewayBlockEntity;needsCooldownBeforeTeleporting()Z
-
getRecentlyGeneratedBeamHeight
@Environment(CLIENT) public float getRecentlyGeneratedBeamHeight(float tickDelta)- Mappings:
Namespace Name Mixin selector official aLcgj;a(F)Fintermediary method_11417Lnet/minecraft/class_2643;method_11417(F)Fnamed getRecentlyGeneratedBeamHeightLnet/minecraft/block/entity/EndGatewayBlockEntity;getRecentlyGeneratedBeamHeight(F)F
-
getCooldownBeamHeight
@Environment(CLIENT) public float getCooldownBeamHeight(float tickDelta)- Mappings:
Namespace Name Mixin selector official bLcgj;b(F)Fintermediary method_11412Lnet/minecraft/class_2643;method_11412(F)Fnamed getCooldownBeamHeightLnet/minecraft/block/entity/EndGatewayBlockEntity;getCooldownBeamHeight(F)F
-
toUpdatePacket
- Overrides:
toUpdatePacketin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcfe;a()Lpo;intermediary method_16886Lnet/minecraft/class_2586;method_16886()Lnet/minecraft/class_2622;named toUpdatePacketLnet/minecraft/block/entity/BlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
-
toInitialChunkDataTag
- Overrides:
toInitialChunkDataTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLcfe;b()Lmq;intermediary method_16887Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;named toInitialChunkDataTagLnet/minecraft/block/entity/BlockEntity;toInitialChunkDataTag()Lnet/minecraft/nbt/CompoundTag;
-
startTeleportCooldown
private static void startTeleportCooldown(World world, BlockPos blockPos, BlockState blockState, EndGatewayBlockEntity endGatewayBlockEntity)- Mappings:
Namespace Name Mixin selector official cLcgj;c(Lbtu;Lfx;Lchg;Lcgj;)Vintermediary method_11411Lnet/minecraft/class_2643;method_11411(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2643;)Vnamed startTeleportCooldownLnet/minecraft/block/entity/EndGatewayBlockEntity;startTeleportCooldown(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/EndGatewayBlockEntity;)V
-
onSyncedBlockEvent
public boolean onSyncedBlockEvent(int type, int data)- Overrides:
onSyncedBlockEventin classBlockEntity- Mappings:
Namespace Name Mixin selector official a_Lcfe;a_(II)Zintermediary method_11004Lnet/minecraft/class_2586;method_11004(II)Znamed onSyncedBlockEventLnet/minecraft/block/entity/BlockEntity;onSyncedBlockEvent(II)Z
-
tryTeleportingEntity
public static void tryTeleportingEntity(World world, BlockPos blockPos, BlockState blockState, Entity entity, EndGatewayBlockEntity endGatewayBlockEntity)- Mappings:
Namespace Name Mixin selector official aLcgj;a(Lbtu;Lfx;Lchg;Laqu;Lcgj;)Vintermediary method_11409Lnet/minecraft/class_2643;method_11409(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1297;Lnet/minecraft/class_2643;)Vnamed tryTeleportingEntityLnet/minecraft/block/entity/EndGatewayBlockEntity;tryTeleportingEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/Entity;Lnet/minecraft/block/entity/EndGatewayBlockEntity;)V
-
findBestPortalExitPos
- Mappings:
Namespace Name Mixin selector official aLcgj;a(Lbtu;Lfx;)Lfx;intermediary method_11419Lnet/minecraft/class_2643;method_11419(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;named findBestPortalExitPosLnet/minecraft/block/entity/EndGatewayBlockEntity;findBestPortalExitPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
-
method_31699
- Mappings:
Namespace Name Mixin selector official aLcgj;a(Laav;Lfx;)Lfx;intermediary method_31699Lnet/minecraft/class_2643;method_31699(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;named method_31699Lnet/minecraft/block/entity/EndGatewayBlockEntity;method_31699(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
-
method_31701
- Mappings:
Namespace Name Mixin selector official bLcgj;b(Laav;Lfx;)Ldia;intermediary method_31701Lnet/minecraft/class_2643;method_31701(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_243;named method_31701Lnet/minecraft/block/entity/EndGatewayBlockEntity;method_31701(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Vec3d;
-
method_31698
- Mappings:
Namespace Name Mixin selector official aLcgj;a(Laav;Ldia;)Zintermediary method_31698Lnet/minecraft/class_2643;method_31698(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;)Znamed method_31698Lnet/minecraft/block/entity/EndGatewayBlockEntity;method_31698(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;)Z
-
findExitPortalPos
private static BlockPos findExitPortalPos(BlockView world, BlockPos pos, int searchRadius, boolean bool)- Mappings:
Namespace Name Mixin selector official aLcgj;a(Lbsy;Lfx;IZ)Lfx;intermediary method_11410Lnet/minecraft/class_2643;method_11410(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;named findExitPortalPosLnet/minecraft/block/entity/EndGatewayBlockEntity;findExitPortalPos(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;IZ)Lnet/minecraft/util/math/BlockPos;
-
getChunk
- Mappings:
Namespace Name Mixin selector official aLcgj;a(Lbtu;Ldia;)Lcji;intermediary method_11414Lnet/minecraft/class_2643;method_11414(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;)Lnet/minecraft/class_2818;named getChunkLnet/minecraft/block/entity/EndGatewayBlockEntity;getChunk(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/world/chunk/WorldChunk;
-
findPortalPosition
- Mappings:
Namespace Name Mixin selector official aLcgj;a(Lcji;)Lfx;intermediary method_11413Lnet/minecraft/class_2643;method_11413(Lnet/minecraft/class_2818;)Lnet/minecraft/class_2338;named findPortalPositionLnet/minecraft/block/entity/EndGatewayBlockEntity;findPortalPosition(Lnet/minecraft/world/chunk/WorldChunk;)Lnet/minecraft/util/math/BlockPos;
-
createPortal
private static void createPortal(ServerWorld serverWorld, BlockPos blockPos, EndGatewayFeatureConfig endGatewayFeatureConfig)- Mappings:
Namespace Name Mixin selector official aLcgj;a(Laav;Lfx;Lcqq;)Vintermediary method_11416Lnet/minecraft/class_2643;method_11416(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_3018;)Vnamed createPortalLnet/minecraft/block/entity/EndGatewayBlockEntity;createPortal(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;)V
-
shouldDrawSide
- Overrides:
shouldDrawSidein classEndPortalBlockEntity- Mappings:
Namespace Name Mixin selector official aLcgk;a(Lgc;)Zintermediary method_11400Lnet/minecraft/class_2640;method_11400(Lnet/minecraft/class_2350;)Znamed shouldDrawSideLnet/minecraft/block/entity/EndPortalBlockEntity;shouldDrawSide(Lnet/minecraft/util/math/Direction;)Z
-
getDrawnSidesCount
@Environment(CLIENT) public int getDrawnSidesCount()- Mappings:
Namespace Name Mixin selector official hLcgj;h()Iintermediary method_11415Lnet/minecraft/class_2643;method_11415()Inamed getDrawnSidesCountLnet/minecraft/block/entity/EndGatewayBlockEntity;getDrawnSidesCount()I
-
setExitPortalPos
- Mappings:
Namespace Name Mixin selector official aLcgj;a(Lfx;Z)Vintermediary method_11418Lnet/minecraft/class_2643;method_11418(Lnet/minecraft/class_2338;Z)Vnamed setExitPortalPosLnet/minecraft/block/entity/EndGatewayBlockEntity;setExitPortalPos(Lnet/minecraft/util/math/BlockPos;Z)V
-