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 chr
intermediary net/minecraft/class_2643
named net/minecraft/block/entity/EndGatewayBlockEntity
-
Field Summary
Fields Modifier and Type Field Description private long
age
private boolean
exactTeleport
private @Nullable BlockPos
exitPortalPos
private static Logger
LOGGER
private int
teleportCooldown
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
Constructors Constructor Description EndGatewayBlockEntity(BlockPos pos, BlockState state)
-
Method Summary
Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, setCachedState, setWorld
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lchr;a:Lorg/apache/logging/log4j/Logger;
intermediary field_12133
Lnet/minecraft/class_2643;field_12133:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/block/entity/EndGatewayBlockEntity;LOGGER:Lorg/apache/logging/log4j/Logger;
-
age
private long age- Mappings:
Namespace Name Mixin selector official b
Lchr;b:J
intermediary field_12131
Lnet/minecraft/class_2643;field_12131:J
named age
Lnet/minecraft/block/entity/EndGatewayBlockEntity;age:J
-
teleportCooldown
private int teleportCooldown- Mappings:
Namespace Name Mixin selector official c
Lchr;c:I
intermediary field_12130
Lnet/minecraft/class_2643;field_12130:I
named teleportCooldown
Lnet/minecraft/block/entity/EndGatewayBlockEntity;teleportCooldown:I
-
exitPortalPos
- Mappings:
Namespace Name Mixin selector official g
Lchr;g:Lfx;
intermediary field_12132
Lnet/minecraft/class_2643;field_12132:Lnet/minecraft/class_2338;
named exitPortalPos
Lnet/minecraft/block/entity/EndGatewayBlockEntity;exitPortalPos:Lnet/minecraft/util/math/BlockPos;
-
exactTeleport
private boolean exactTeleport- Mappings:
Namespace Name Mixin selector official h
Lchr;h:Z
intermediary field_12129
Lnet/minecraft/class_2643;field_12129:Z
named exactTeleport
Lnet/minecraft/block/entity/EndGatewayBlockEntity;exactTeleport:Z
-
-
Constructor Details
-
EndGatewayBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lchs;<init>(Lfx;Lcio;)V
intermediary <init>
Lnet/minecraft/class_2640;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/entity/EndPortalBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
writeNbt
- Overrides:
writeNbt
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcgm;b(Lmr;)Lmr;
intermediary method_11007
Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
named writeNbt
Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
readNbt
- Overrides:
readNbt
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcgm;a(Lmr;)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/CompoundTag;)V
-
clientTick
public static void clientTick(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity)- Mappings:
Namespace Name Mixin selector official a
Lchr;a(Lbuq;Lfx;Lcio;Lchr;)V
intermediary method_31700
Lnet/minecraft/class_2643;method_31700(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2643;)V
named clientTick
Lnet/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 pos, BlockState state, EndGatewayBlockEntity blockEntity)- Mappings:
Namespace Name Mixin selector official b
Lchr;b(Lbuq;Lfx;Lcio;Lchr;)V
intermediary method_31702
Lnet/minecraft/class_2643;method_31702(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2643;)V
named serverTick
Lnet/minecraft/block/entity/EndGatewayBlockEntity;serverTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/EndGatewayBlockEntity;)V
-
canTeleport
- Mappings:
Namespace Name Mixin selector official a
Lchr;a(Laro;)Z
intermediary method_30276
Lnet/minecraft/class_2643;method_30276(Lnet/minecraft/class_1297;)Z
named canTeleport
Lnet/minecraft/block/entity/EndGatewayBlockEntity;canTeleport(Lnet/minecraft/entity/Entity;)Z
-
isRecentlyGenerated
public boolean isRecentlyGenerated()- Mappings:
Namespace Name Mixin selector official d
Lchr;d()Z
intermediary method_11420
Lnet/minecraft/class_2643;method_11420()Z
named isRecentlyGenerated
Lnet/minecraft/block/entity/EndGatewayBlockEntity;isRecentlyGenerated()Z
-
needsCooldownBeforeTeleporting
public boolean needsCooldownBeforeTeleporting()- Mappings:
Namespace Name Mixin selector official f
Lchr;f()Z
intermediary method_11421
Lnet/minecraft/class_2643;method_11421()Z
named needsCooldownBeforeTeleporting
Lnet/minecraft/block/entity/EndGatewayBlockEntity;needsCooldownBeforeTeleporting()Z
-
getRecentlyGeneratedBeamHeight
- Mappings:
Namespace Name Mixin selector official a
Lchr;a(F)F
intermediary method_11417
Lnet/minecraft/class_2643;method_11417(F)F
named getRecentlyGeneratedBeamHeight
Lnet/minecraft/block/entity/EndGatewayBlockEntity;getRecentlyGeneratedBeamHeight(F)F
-
getCooldownBeamHeight
- Mappings:
Namespace Name Mixin selector official b
Lchr;b(F)F
intermediary method_11412
Lnet/minecraft/class_2643;method_11412(F)F
named getCooldownBeamHeight
Lnet/minecraft/block/entity/EndGatewayBlockEntity;getCooldownBeamHeight(F)F
-
toUpdatePacket
- Overrides:
toUpdatePacket
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcgm;a()Lpp;
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;
-
toInitialChunkDataNbt
- Overrides:
toInitialChunkDataNbt
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcgm;b()Lmr;
intermediary method_16887
Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;
named toInitialChunkDataNbt
Lnet/minecraft/block/entity/BlockEntity;toInitialChunkDataNbt()Lnet/minecraft/nbt/CompoundTag;
-
startTeleportCooldown
private static void startTeleportCooldown(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity)- Mappings:
Namespace Name Mixin selector official c
Lchr;c(Lbuq;Lfx;Lcio;Lchr;)V
intermediary method_11411
Lnet/minecraft/class_2643;method_11411(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2643;)V
named startTeleportCooldown
Lnet/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:
onSyncedBlockEvent
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a_
Lcgm;a_(II)Z
intermediary method_11004
Lnet/minecraft/class_2586;method_11004(II)Z
named onSyncedBlockEvent
Lnet/minecraft/block/entity/BlockEntity;onSyncedBlockEvent(II)Z
-
tryTeleportingEntity
public static void tryTeleportingEntity(World world, BlockPos pos, BlockState state, Entity entity, EndGatewayBlockEntity blockEntity)- Mappings:
Namespace Name Mixin selector official a
Lchr;a(Lbuq;Lfx;Lcio;Laro;Lchr;)V
intermediary method_11409
Lnet/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;)V
named tryTeleportingEntity
Lnet/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 a
Lchr;a(Lbuq;Lfx;)Lfx;
intermediary method_11419
Lnet/minecraft/class_2643;method_11419(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
named findBestPortalExitPos
Lnet/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 a
Lchr;a(Labf;Lfx;)Lfx;
intermediary method_31699
Lnet/minecraft/class_2643;method_31699(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
named method_31699
Lnet/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 b
Lchr;b(Labf;Lfx;)Ldkn;
intermediary method_31701
Lnet/minecraft/class_2643;method_31701(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_243;
named method_31701
Lnet/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 a
Lchr;a(Labf;Ldkn;)Z
intermediary method_31698
Lnet/minecraft/class_2643;method_31698(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;)Z
named method_31698
Lnet/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 a
Lchr;a(Lbtu;Lfx;IZ)Lfx;
intermediary method_11410
Lnet/minecraft/class_2643;method_11410(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;
named findExitPortalPos
Lnet/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 a
Lchr;a(Lbuq;Ldkn;)Lcks;
intermediary method_11414
Lnet/minecraft/class_2643;method_11414(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;)Lnet/minecraft/class_2818;
named getChunk
Lnet/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 a
Lchr;a(Lcks;)Lfx;
intermediary method_11413
Lnet/minecraft/class_2643;method_11413(Lnet/minecraft/class_2818;)Lnet/minecraft/class_2338;
named findPortalPosition
Lnet/minecraft/block/entity/EndGatewayBlockEntity;findPortalPosition(Lnet/minecraft/world/chunk/WorldChunk;)Lnet/minecraft/util/math/BlockPos;
-
createPortal
private static void createPortal(ServerWorld world, BlockPos pos, EndGatewayFeatureConfig endGatewayFeatureConfig)- Mappings:
Namespace Name Mixin selector official a
Lchr;a(Labf;Lfx;Lcsu;)V
intermediary method_11416
Lnet/minecraft/class_2643;method_11416(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_3018;)V
named createPortal
Lnet/minecraft/block/entity/EndGatewayBlockEntity;createPortal(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/EndGatewayFeatureConfig;)V
-
shouldDrawSide
- Overrides:
shouldDrawSide
in classEndPortalBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lchs;a(Lgc;)Z
intermediary method_11400
Lnet/minecraft/class_2640;method_11400(Lnet/minecraft/class_2350;)Z
named shouldDrawSide
Lnet/minecraft/block/entity/EndPortalBlockEntity;shouldDrawSide(Lnet/minecraft/util/math/Direction;)Z
-
getDrawnSidesCount
- Mappings:
Namespace Name Mixin selector official g
Lchr;g()I
intermediary method_11415
Lnet/minecraft/class_2643;method_11415()I
named getDrawnSidesCount
Lnet/minecraft/block/entity/EndGatewayBlockEntity;getDrawnSidesCount()I
-
setExitPortalPos
- Mappings:
Namespace Name Mixin selector official a
Lchr;a(Lfx;Z)V
intermediary method_11418
Lnet/minecraft/class_2643;method_11418(Lnet/minecraft/class_2338;Z)V
named setExitPortalPos
Lnet/minecraft/block/entity/EndGatewayBlockEntity;setExitPortalPos(Lnet/minecraft/util/math/BlockPos;Z)V
-