net.minecraft.world.level.block

public class NetherPortalBlock

extends Block implements Portal

All mapped superinterfaces:

FeatureElement, ItemLike, Portal

dou
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(dwy arg0, dfo arg1, ji arg2, fbg 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(dwy arg0, ard arg1, ji arg2, azh 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(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh 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(dwy arg0, dgj arg1, ji arg2, bum 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(ard arg0, bum arg1)
getPortalTransitionTime(ServerLevel arg0, Entity arg1)
method_60772(class_3218 arg0, class_1297 arg1)
getPortalDelay(ServerWorld arg0, Entity arg1)
public TeleportTransition
a(ard arg0, bum arg1, ji 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(ard arg0, bum arg1, ji arg2, ji arg3, boolean arg4, dyo 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(bum arg0, ji arg1, l$a arg2, ard arg3, eua$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(ard arg0, l$a arg1, jn$a arg2, fbb arg3, bum arg4, eua$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(dwy arg0, dgj arg1, ji arg2, azh 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(dgm arg0, ji arg1, dwy 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(dwy arg0, dqf arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)