net.minecraft.world.level.block

public class NetherPortalBlock

extends Block implements Portal

All mapped superinterfaces:

FeatureElement, ItemLike, Portal

drd
net.minecraft.world.level.block.NetherPortalBlock
net.minecraft.class_2423
net.minecraft.block.NetherPortalBlock

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
c
LOGGER
field_52060
LOGGER
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 Map<Direction$Axis, VoxelShape>
d
SHAPES
field_55781
SHAPES_BY_AXIS

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(dzo arg0, dhv arg1, iu arg2, feb 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 VoxelShape
a(dzo arg0, dhv arg1, iu arg2, bwa arg3)
getEntityInsideCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, Entity arg3)
method_64022(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_1297 arg3)
getInsideCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, Entity arg3)
protected void
b(dzo arg0, aro arg1, iu arg2, azt 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(dzo arg0, dis arg1, dje arg2, iu arg3, ja arg4, iu arg5, dzo arg6, azt 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(dzo arg0, dip arg1, iu arg2, bwa 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(aro arg0, bwa arg1)
getPortalTransitionTime(ServerLevel arg0, Entity arg1)
method_60772(class_3218 arg0, class_1297 arg1)
getPortalDelay(ServerWorld arg0, Entity arg1)
public TeleportTransition
a(aro arg0, bwa arg1, iu 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(aro arg0, bwa arg1, iu arg2, iu arg3, boolean arg4, ebg 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(bwa arg0, iu arg1, l$a arg2, aro arg3, ewv$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(aro arg0, l$a arg1, ja$a arg2, fdw arg3, bwa arg4, ewv$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(dzo arg0, dip arg1, iu arg2, azt 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)
protected ItemStack
a(dis arg0, iu arg1, dzo arg2, boolean arg3)
getCloneItemStack(LevelReader arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
protected BlockState
a(dzo arg0, dsm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected void
a(dzp$a<dlu, dzo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)