Package net.minecraft.block
Class NetherPortalBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TransparentBlock
net.minecraft.block.NetherPortalBlock
- Mappings:
Namespace Name official alaintermediary net/minecraft/class_169named net/minecraft/block/NetherPortalBlock
-
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
blastResistance, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_469, field_483, field_484, field_486, field_487, field_6259, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, side, slipperiness, soundGroup, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDropCount(Random rand) Returns the amount of items the block should drop on breaking without bonus rolls.method_407(World world, int int2, int int3, int int4) voidmethod_415(World world, int int2, int int3, int int4, Random random) voidmethod_425(BlockView blockView, int int2, int int3, int int4) method_454(World world, int int2, int int3, int int4) intstatic intmethod_6498(int int2) booleanmethod_6499(World world, int int2, int int3, int int4) voidonEntityCollision(World world, int x, int y, int z, Entity entity) voidonNeighborUpdate(World world, int x, int y, int z, Block block) voidbooleanReturns whether the block can be rendered as a normal blockbooleanshouldRenderSide(BlockView world, int x, int y, int z, int blockData) Methods inherited from class net.minecraft.block.TransparentBlock
hasTransperancy, registerTexturesMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBlockType, getBonusDrops, getById, getCollisionBox, getColor, getHardness, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getStrongRedstonePower, getTexture, getTextureName, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_398, method_400, method_405, method_410, method_411, method_412, method_413, method_414, method_417, method_418, method_4185, method_4186, method_420, method_422, method_424, method_428, method_431, method_435, method_437, method_438, method_446, method_448, method_452, method_455, method_457, method_459, method_461, method_463, method_464, method_468, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onDestroyed, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_7472
public static final int[][] field_7472- Mappings:
Namespace Name Mixin selector official aLala;a:[[Iintermediary field_7472Lnet/minecraft/class_169;field_7472:[[Inamed field_7472Lnet/minecraft/block/NetherPortalBlock;field_7472:[[I
-
-
Constructor Details
-
NetherPortalBlock
public NetherPortalBlock()
-
-
Method Details
-
onTick
- Overrides:
onTickin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILjava/util/Random;)Vintermediary method_436Lnet/minecraft/class_197;method_436(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed onTickLnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
method_454
- Overrides:
method_454in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;III)Laye;intermediary method_454Lnet/minecraft/class_197;method_454(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_231;named method_454Lnet/minecraft/block/Block;method_454(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
-
method_425
- Overrides:
method_425in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafw;III)Vintermediary method_425Lnet/minecraft/class_197;method_425(Lnet/minecraft/class_1158;III)Vnamed method_425Lnet/minecraft/block/Block;method_425(Lnet/minecraft/world/BlockView;III)V
-
renderAsNormalBlock
public boolean renderAsNormalBlock()Returns whether the block can be rendered as a normal block- Overrides:
renderAsNormalBlockin classBlock- Returns:
- Whether the block can be rendered as a normal block
- Mappings:
Namespace Name Mixin selector official dLaht;d()Zintermediary method_441Lnet/minecraft/class_197;method_441()Znamed renderAsNormalBlockLnet/minecraft/block/Block;renderAsNormalBlock()Z
-
method_6499
- Mappings:
Namespace Name Mixin selector official eLala;e(Lafm;III)Zintermediary method_6499Lnet/minecraft/class_169;method_6499(Lnet/minecraft/class_1150;III)Znamed method_6499Lnet/minecraft/block/NetherPortalBlock;method_6499(Lnet/minecraft/world/World;III)Z
-
onNeighborUpdate
- Overrides:
onNeighborUpdatein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;)Vintermediary method_408Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)Vnamed onNeighborUpdateLnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
-
shouldRenderSide
@Environment(CLIENT) public boolean shouldRenderSide(BlockView world, int x, int y, int z, int blockData) - Overrides:
shouldRenderSidein classTransparentBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafw;IIII)Zintermediary method_447Lnet/minecraft/class_197;method_447(Lnet/minecraft/class_1158;IIII)Znamed shouldRenderSideLnet/minecraft/block/Block;shouldRenderSide(Lnet/minecraft/world/BlockView;IIII)Z
-
getDropCount
Returns the amount of items the block should drop on breaking without bonus rolls.- Overrides:
getDropCountin classBlock- Parameters:
rand- Random object- Returns:
- Amount of items to be dropped
- Mappings:
Namespace Name Mixin selector official aLaht;a(Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Ljava/util/Random;)Inamed getDropCountLnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
-
method_479
- Overrides:
method_479in classBlock- Mappings:
Namespace Name Mixin selector official wLaht;w()Iintermediary method_479Lnet/minecraft/class_197;method_479()Inamed method_479Lnet/minecraft/block/Block;method_479()I
-
onEntityCollision
- Overrides:
onEntityCollisionin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILqm;)Vintermediary method_416Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_1150;IIILnet/minecraft/class_864;)Vnamed onEntityCollisionLnet/minecraft/block/Block;onEntityCollision(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;)V
-
method_415
@Environment(CLIENT) public void method_415(World world, int int2, int int3, int int4, Random random) - Overrides:
method_415in classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafm;IIILjava/util/Random;)Vintermediary method_415Lnet/minecraft/class_197;method_415(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed method_415Lnet/minecraft/block/Block;method_415(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
method_407
- Overrides:
method_407in classBlock- Mappings:
Namespace Name Mixin selector official dLaht;d(Lafm;III)Labm;intermediary method_407Lnet/minecraft/class_197;method_407(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_1069;named method_407Lnet/minecraft/block/Block;method_407(Lnet/minecraft/world/World;III)Lnet/minecraft/item/Item;
-
method_6498
public static int method_6498(int int2) - Mappings:
Namespace Name Mixin selector official bLala;b(I)Iintermediary method_6498Lnet/minecraft/class_169;method_6498(I)Inamed method_6498Lnet/minecraft/block/NetherPortalBlock;method_6498(I)I
-