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.unmapped.C_zpsdinym
net.minecraft.block.NetherPortalBlock
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
f_murlvzvr
CODEC
CODEC
f_302228_
public static final EnumProperty<Direction$Axis>
b
AXIS
field_11310
f_pdbgmnkv
AXIS
AXIS
f_54904_
private static final org.slf4j.Logger
f
LOGGER
field_52060
f_ilivmkfw
LOGGER
LOGGER
f_337005_
protected static final int
c
AABB_OFFSET
field_31196
f_zufjansn
field_31196
SHAPE_OFFSET
f_153985_
protected static final VoxelShape
d
X_AXIS_AABB
field_11309
f_ftavgfbe
X_SHAPE
X_SHAPE
f_54905_
protected static final VoxelShape
e
Z_AXIS_AABB
field_11308
f_grkokyyq
Z_SHAPE
Z_SHAPE
f_54906_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<NetherPortalBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
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)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext 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(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)
m_sdymngiw(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213898_(C_2064_ p_221800_, C_12_ p_221801_, C_4675_ p_221802_, C_212974_ 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)
m_yvunqpeq(C_txtbiemp arg0, C_eemzphbi arg1, C_adoatlrf arg2, C_hynzadkk arg3, C_xpuuihxf arg4, C_hynzadkk arg5, C_txtbiemp arg6, C_rlomrsco arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, TickSchedulerAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomGenerator arg7)
m_7417_(C_2064_ p_367647_, C_1599_ p_363604_, C_346056_ p_54932_, C_4675_ p_54929_, C_4687_ p_54933_, C_4675_ p_54930_, C_2064_ p_368816_, C_212974_ 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)
m_lmjnycyw(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_astfners arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity 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(ash arg0, bvk arg1)
getPortalTransitionTime(ServerLevel arg0, Entity arg1)
method_60772(class_3218 arg0, class_1297 arg1)
m_ynslrhia(C_bdwnwhiu arg0, C_astfners arg1)
getPortalDelay(ServerWorld arg0, Entity arg1)
getTransitionTime(ServerWorld arg0, Entity arg1)
m_340341_(C_12_ p_344634_, C_507_ 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)
m_ssylpsbj(C_bdwnwhiu arg0, C_astfners arg1, C_hynzadkk arg2)
createTeleportTarget(ServerWorld arg0, Entity arg1, BlockPos arg2)
createTransition(ServerWorld arg0, Entity arg1, BlockPos arg2)
m_339314_(C_12_ p_343065_, C_507_ p_344977_, C_4675_ 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)
m_cuetenod(C_bdwnwhiu arg0, C_astfners arg1, C_hynzadkk arg2, C_hynzadkk arg3, boolean arg4, C_pneibfez arg5)
getOrCreateExitPortalTarget(ServerWorld world, Entity entity, BlockPos pos, BlockPos scaledPos, boolean inNether, WorldBorder worldBorder)
tryCreateTransition(ServerWorld world, Entity entity, BlockPos pos, BlockPos scaledPos, boolean nether, WorldBorder border)
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 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)
m_kvaymgqu(C_astfners arg0, C_hynzadkk arg1, C_wauhtoaq$C_tqypnjit arg2, C_bdwnwhiu arg3, C_sqhjwpkh$C_saosxlyx arg4)
getExitPortalTarget(Entity entity, BlockPos pos, BlockLocating$Rectangle exitPortalRectangle, ServerWorld world, TeleportTarget$PostDimensionTransition postDimensionTransition)
createTransition(Entity entity, BlockPos pos, BlockLocating$Rectangle portalRectangle, ServerWorld world, TeleportTarget$PostTeleportTransition arg4)
m_338542_(C_507_ p_344252_, C_4675_ p_343376_, C_4777_$C_4778_ p_343595_, C_12_ p_343963_, C_345918_$C_345802_ p_368919_)
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)
m_fzuhemna(C_bdwnwhiu arg0, C_wauhtoaq$C_tqypnjit arg1, C_xpuuihxf$C_rmpfouoz arg2, C_vgpupfxx arg3, C_astfners arg4, C_sqhjwpkh$C_saosxlyx arg5)
getExitPortalTarget(ServerWorld world, BlockLocating$Rectangle exitPortalRectangle, Direction$Axis axis, Vec3d positionInPortal, Entity entity, TeleportTarget$PostDimensionTransition postDimensionTransition)
createTransition(ServerWorld world, BlockLocating$Rectangle portalRectangle, Direction$Axis startAxis, Vec3d offset, Entity entity, TeleportTarget$PostTeleportTransition arg5)
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_345918_$C_345802_ p_361307_)
public Portal$Transition
b()
getLocalTransition()
method_60778()
m_kzlfoqae()
getPortalEffect()
getEffect()
m_338747_()
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)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, RandomGenerator arg3)
m_214162_(C_2064_ p_221795_, C_1596_ p_221796_, C_4675_ p_221797_, C_212974_ 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)
m_jsiqlbgd(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7397_(C_1599_ p_54912_, C_4675_ p_54913_, C_2064_ arg2)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_54926_, C_1886_ 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)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)