net.minecraft.world.level.block

public class NetherPortalBlock

extends Block implements Portal

All mapped superinterfaces:

FeatureElement, ItemLike, Portal

dlc
net.minecraft.world.level.block.NetherPortalBlock
net.minecraft.class_2423
net.minecraft.block.NetherPortalBlock
net.minecraft.src.C_1842_
net.minecraft.world.level.block.BlockPortal

Field summary

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

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<NetherPortalBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected VoxelShape
a(dtc arg0, dcc arg1, jd arg2, exh 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)
m_5940_(C_2064_ p_54943_, C_1559_ p_54944_, C_4675_ p_54945_, C_3051_ arg3)
protected void
b(dtc arg0, aqu arg1, jd arg2, ayw 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)
m_213898_(C_2064_ p_221800_, C_12_ p_221801_, C_4675_ p_221802_, C_212974_ arg3)
protected BlockState
a(dtc arg0, ji arg1, dtc arg2, dcx arg3, jd arg4, jd arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_54929_, C_4687_ p_54930_, C_2064_ p_54931_, C_1598_ p_54932_, C_4675_ p_54933_, C_4675_ arg5)
protected void
a(dtc arg0, dcw arg1, jd arg2, bsr 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)
m_7892_(C_2064_ p_54916_, C_1596_ p_54917_, C_4675_ p_54918_, C_507_ arg3)
public int
a(aqu arg0, bsr arg1)
getPortalTransitionTime(ServerLevel arg0, Entity arg1)
method_60772(class_3218 arg0, class_1297 arg1)
getPortalDelay(ServerWorld arg0, Entity arg1)
m_340341_(C_12_ p_344634_, C_507_ arg1)
public DimensionTransition
a(aqu arg0, bsr arg1, jd 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)
m_339314_(C_12_ p_343065_, C_507_ p_344977_, C_4675_ arg2)
private DimensionTransition
a(aqu arg0, bsr arg1, jd arg2, jd arg3, boolean arg4, dut 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)
m_339642_(C_12_ p_343673_, C_507_ p_343381_, C_4675_ p_343194_, C_4675_ p_343644_, boolean p_343185_, C_2110_ arg5)
private static DimensionTransition
a(bsr arg0, jd arg1, l$a arg2, aqu arg3, eqc$a arg4)
getDimensionTransitionFromExit(Entity arg0, BlockPos arg1, BlockUtil$FoundRectangle arg2, ServerLevel arg3, DimensionTransition$PostDimensionTransition 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)
m_338542_(C_507_ p_344252_, C_4675_ p_343376_, C_4777_$C_4778_ p_343595_, C_12_ p_343963_, C_336494_$C_336509_ p_343628_)
private static DimensionTransition
a(aqu arg0, l$a arg1, ji$a arg2, exc arg3, bsr arg4, exc arg5, float arg6, float arg7, eqc$a arg8)
createDimensionTransition(ServerLevel arg0, BlockUtil$FoundRectangle arg1, Direction$Axis arg2, Vec3 arg3, Entity arg4, Vec3 arg5, float arg6, float arg7, DimensionTransition$PostDimensionTransition arg8)
method_60774(class_3218 arg0, class_5459$class_5460 arg1, class_2350$class_2351 arg2, class_243 arg3, class_1297 arg4, class_243 arg5, float arg6, float arg7, class_5454$class_9823 arg8)
getExitPortalTarget(ServerWorld world, BlockLocating$Rectangle exitPortalRectangle, Direction$Axis axis, Vec3d positionInPortal, Entity entity, Vec3d velocity, float yaw, float pitch, TeleportTarget$PostDimensionTransition postDimensionTransition)
m_339541_(C_12_ p_344368_, C_4777_$C_4778_ p_345089_, C_4687_$C_4689_ p_345454_, C_3046_ p_344397_, C_507_ p_344167_, C_3046_ p_345163_, float p_343112_, float p_345507_, C_336494_$C_336509_ p_343515_)
public Portal$Transition
b()
getLocalTransition()
method_60778()
getPortalEffect()
m_338747_()
public void
a(dtc arg0, dcw arg1, jd arg2, ayw 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)
m_214162_(C_2064_ p_221795_, C_1596_ p_221796_, C_4675_ p_221797_, C_212974_ arg3)
public ItemStack
a(dcz arg0, jd arg1, dtc 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)
m_7397_(C_1599_ p_54912_, C_4675_ p_54913_, C_2064_ arg2)
protected BlockState
a(dtc arg0, dmm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_54926_, C_1886_ arg1)
protected void
a(dtd$a<dfy, dtc> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)