Package net.minecraft.block
Class TrapdoorBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TrapdoorBlock
- Mappings:
Namespace Name official ampintermediary net/minecraft/class_205named net/minecraft/block/TrapdoorBlock
-
Field Summary
Fields 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 TypeMethodDescriptionintbooleanmethod_414(World world, int int2, int int3, int int4, Vec3d vec3d, Vec3d vec3d2) intmethod_4185(World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4, int int6) voidmethod_420(World world, int int2, int int3, int int4, PlayerEntity playerEntity) voidmethod_425(BlockView blockView, int int2, int int3, int int4) method_427(World world, int int2, int int3, int int4) booleanmethod_428(World world, int int2, int int3, int int4, int int5) booleanmethod_446(BlockView blockView, int int2, int int3, int int4) method_454(World world, int int2, int int3, int int4) voidmethod_491(World world, int int2, int int3, int int4, boolean bool) voidmethod_492(int int2) static booleanmethod_493(int int2) private static booleanmethod_6515(Block block) booleanonActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) voidonNeighborUpdate(World world, int x, int y, int z, Block block) booleanReturns whether the block can be rendered as a normal blockvoidSets the bounds for the BlockItemMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBonusDrops, getById, getColor, getDropCount, 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_407, method_410, method_411, method_412, method_413, method_415, method_417, method_418, method_4186, method_422, method_424, method_431, method_435, method_437, method_438, method_448, method_452, method_455, method_457, method_459, method_461, method_463, method_464, method_468, method_471, method_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onBreak, onDestroyed, onEntityCollision, onTick, registerTextures, requiresSilkTouch, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Constructor Details
-
TrapdoorBlock
- Parameters:
material- The block's material- Mappings:
Namespace Name Mixin selector official <init>Laht;<init>(Lave;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_63;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Material;)V
-
-
Method Details
-
hasTransperancy
public boolean hasTransperancy()- Overrides:
hasTransperancyin classBlock- Mappings:
Namespace Name Mixin selector official cLaht;c()Zintermediary method_449Lnet/minecraft/class_197;method_449()Znamed hasTransperancyLnet/minecraft/block/Block;hasTransperancy()Z
-
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_446
- Overrides:
method_446in classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafw;III)Zintermediary method_446Lnet/minecraft/class_197;method_446(Lnet/minecraft/class_1158;III)Znamed method_446Lnet/minecraft/block/Block;method_446(Lnet/minecraft/world/BlockView;III)Z
-
getBlockType
public int getBlockType()- Overrides:
getBlockTypein classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b()Iintermediary method_429Lnet/minecraft/class_197;method_429()Inamed getBlockTypeLnet/minecraft/block/Block;getBlockType()I
-
method_427
- Overrides:
method_427in classBlock- Mappings:
Namespace Name Mixin selector official gLaht;g(Lafm;III)Laye;intermediary method_427Lnet/minecraft/class_197;method_427(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_231;named method_427Lnet/minecraft/block/Block;method_427(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
-
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
-
setBlockItemBounds
public void setBlockItemBounds()Sets the bounds for the BlockItem- Overrides:
setBlockItemBoundsin classBlock- Mappings:
Namespace Name Mixin selector official gLaht;g()Vintermediary method_456Lnet/minecraft/class_197;method_456()Vnamed setBlockItemBoundsLnet/minecraft/block/Block;setBlockItemBounds()V
-
method_492
public void method_492(int int2) - Mappings:
Namespace Name Mixin selector official bLamp;b(I)Vintermediary method_492Lnet/minecraft/class_205;method_492(I)Vnamed method_492Lnet/minecraft/block/TrapdoorBlock;method_492(I)V
-
method_420
- Overrides:
method_420in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILxk;)Vintermediary method_420Lnet/minecraft/class_197;method_420(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;)Vnamed method_420Lnet/minecraft/block/Block;method_420(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)V
-
onActivated
public boolean onActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) - Overrides:
onActivatedin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILxk;IFFF)Zintermediary method_421Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;IFFF)Znamed onActivatedLnet/minecraft/block/Block;onActivated(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;IFFF)Z
-
method_491
- Mappings:
Namespace Name Mixin selector official aLamp;a(Lafm;IIIZ)Vintermediary method_491Lnet/minecraft/class_205;method_491(Lnet/minecraft/class_1150;IIIZ)Vnamed method_491Lnet/minecraft/block/TrapdoorBlock;method_491(Lnet/minecraft/world/World;IIIZ)V
-
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
-
method_414
public BlockHitResult method_414(World world, int int2, int int3, int int4, Vec3d vec3d, Vec3d vec3d2) - Overrides:
method_414in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILayj;Layj;)Layh;intermediary method_414Lnet/minecraft/class_197;method_414(Lnet/minecraft/class_1150;IIILnet/minecraft/class_236;Lnet/minecraft/class_236;)Lnet/minecraft/class_234;named method_414Lnet/minecraft/block/Block;method_414(Lnet/minecraft/world/World;IIILnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/hit/BlockHitResult;
-
method_4185
public int method_4185(World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4, int int6) - Overrides:
method_4185in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIIFFFI)Iintermediary method_4185Lnet/minecraft/class_197;method_4185(Lnet/minecraft/class_1150;IIIIFFFI)Inamed method_4185Lnet/minecraft/block/Block;method_4185(Lnet/minecraft/world/World;IIIIFFFI)I
-
method_428
- Overrides:
method_428in classBlock- Mappings:
Namespace Name Mixin selector official dLaht;d(Lafm;IIII)Zintermediary method_428Lnet/minecraft/class_197;method_428(Lnet/minecraft/class_1150;IIII)Znamed method_428Lnet/minecraft/block/Block;method_428(Lnet/minecraft/world/World;IIII)Z
-
method_493
public static boolean method_493(int int2) - Mappings:
Namespace Name Mixin selector official dLamp;d(I)Zintermediary method_493Lnet/minecraft/class_205;method_493(I)Znamed method_493Lnet/minecraft/block/TrapdoorBlock;method_493(I)Z
-
method_6515
- Mappings:
Namespace Name Mixin selector official aLamp;a(Laht;)Zintermediary method_6515Lnet/minecraft/class_205;method_6515(Lnet/minecraft/class_197;)Znamed method_6515Lnet/minecraft/block/TrapdoorBlock;method_6515(Lnet/minecraft/block/Block;)Z
-