net.minecraft.world.level.block

public class NetherPortalBlock

extends Block implements Portal

All mapped superinterfaces:

FeatureElement, ItemLike, Portal

dps
net.minecraft.world.level.block.NetherPortalBlock
net.minecraft.class_2423
net.minecraft.block.NetherPortalBlock
net.minecraft.world.level.block.BlockPortal

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<NetherPortalBlock>
a
CODEC
field_46401
CODEC
public static final EnumProperty<Direction$Axis>
b
AXIS
field_11310
AXIS
private static final org.slf4j.Logger
f
LOGGER
field_52060
LOGGER
protected static final int
c
AABB_OFFSET
field_31196
field_31196
protected static final VoxelShape
d
X_AXIS_AABB
field_11309
X_SHAPE
protected static final VoxelShape
e
Z_AXIS_AABB
field_11308
Z_SHAPE

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<NetherPortalBlock>
a()
codec()
method_53969()
getCodec()
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected void
b(dxv arg0, ash arg1, jh arg2, bam arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
protected void
a(dxv arg0, dhi arg1, jh arg2, bvk arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
public int
a(ash arg0, bvk arg1)
getPortalTransitionTime(ServerLevel arg0, Entity arg1)
method_60772(class_3218 arg0, class_1297 arg1)
getPortalDelay(ServerWorld arg0, Entity arg1)
public TeleportTransition
a(ash arg0, bvk arg1, jh arg2)
getPortalDestination(ServerLevel arg0, Entity arg1, BlockPos arg2)
method_60770(class_3218 arg0, class_1297 arg1, class_2338 arg2)
createTeleportTarget(ServerWorld arg0, Entity arg1, BlockPos arg2)
private TeleportTransition
a(ash arg0, bvk arg1, jh arg2, jh arg3, boolean arg4, dzl arg5)
getExitPortal(ServerLevel arg0, Entity arg1, BlockPos arg2, BlockPos arg3, boolean arg4, WorldBorder arg5)
method_60773(class_3218 arg0, class_1297 arg1, class_2338 arg2, class_2338 arg3, boolean arg4, class_2784 arg5)
getOrCreateExitPortalTarget(ServerWorld world, Entity entity, BlockPos pos, BlockPos scaledPos, boolean inNether, WorldBorder worldBorder)
private static TeleportTransition
a(bvk arg0, jh arg1, l$a arg2, ash arg3, eux$a arg4)
getDimensionTransitionFromExit(Entity arg0, BlockPos arg1, BlockUtil$FoundRectangle arg2, ServerLevel arg3, TeleportTransition$PostTeleportTransition arg4)
method_60777(class_1297 arg0, class_2338 arg1, class_5459$class_5460 arg2, class_3218 arg3, class_5454$class_9823 arg4)
getExitPortalTarget(Entity entity, BlockPos pos, BlockLocating$Rectangle exitPortalRectangle, ServerWorld world, TeleportTarget$PostDimensionTransition postDimensionTransition)
private static TeleportTransition
a(ash arg0, l$a arg1, jm$a arg2, fby arg3, bvk arg4, eux$a arg5)
createDimensionTransition(ServerLevel arg0, BlockUtil$FoundRectangle arg1, Direction$Axis arg2, Vec3 arg3, Entity arg4, TeleportTransition$PostTeleportTransition arg5)
method_60774(class_3218 arg0, class_5459$class_5460 arg1, class_2350$class_2351 arg2, class_243 arg3, class_1297 arg4, class_5454$class_9823 arg5)
getExitPortalTarget(ServerWorld world, BlockLocating$Rectangle exitPortalRectangle, Direction$Axis axis, Vec3d positionInPortal, Entity entity, TeleportTarget$PostDimensionTransition postDimensionTransition)
public Portal$Transition
b()
getLocalTransition()
method_60778()
getPortalEffect()
public void
a(dxv arg0, dhi arg1, jh arg2, bam arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
public ItemStack
a(dhl arg0, jh arg1, dxv arg2)
getCloneItemStack(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)