net.minecraft.block

public class EndGatewayBlock

extends BlockWithEntity implements Portal

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, BlockEntityProvider, Portal

net.minecraft.world.level.block.EndGatewayBlock
net.minecraft.class_2329
net.minecraft.block.EndGatewayBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<EndGatewayBlock>
CODEC
field_46343
CODEC

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<EndGatewayBlock>
codec()
method_53969()
getCodec()
public BlockEntity
newBlockEntity(BlockPos worldPosition, BlockState blockState)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
getTicker(Level level, BlockState blockState, BlockEntityType<T> type)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
public void
animateTick(BlockState state, Level level, BlockPos pos, RandomSource random)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
protected ItemStack
getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
protected boolean
canBeReplaced(BlockState state, Fluid fluid)
method_22358(class_2680 arg0, class_3611 arg1)
canBucketPlace(BlockState arg0, Fluid arg1)
protected void
entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3, class_10774 arg4, boolean arg5)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3, EntityCollisionHandler arg4, boolean arg5)
public TeleportTarget
getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos)
method_60770(class_3218 arg0, class_1297 arg1, class_2338 arg2)
createTeleportTarget(ServerWorld arg0, Entity arg1, BlockPos arg2)
protected BlockRenderType
getRenderShape(BlockState state)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)