Package net.minecraft.block
Class TorchBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TorchBlock
- Direct Known Subclasses:
RedstoneTorchBlock
- Mappings:
Namespace Name official amnintermediary net/minecraft/class_203named net/minecraft/block/TorchBlock
-
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 TypeMethodDescriptionvoidbreakNaturally(World world, int x, int y, int z) booleancanPlaceBlockAt(World world, int x, int y, int z) intbooleanmethod_414(World world, int int2, int int3, int int4, Vec3d vec3d, Vec3d vec3d2) voidmethod_415(World world, int int2, int int3, int int4, Random random) intmethod_4185(World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4, int int6) method_454(World world, int int2, int int3, int int4) protected booleanmethod_4801(World world, int int2, int int3, int int4, Block block) private booleanmethod_489(World world, int int2, int int3, int int4) protected booleanmethod_490(World world, int int2, int int3, int int4) voidonNeighborUpdate(World world, int x, int y, int z, Block block) voidbooleanReturns whether the block can be rendered as a normal blockMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBonusDrops, getById, getCollisionBox, getColor, getDropCount, 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_407, method_410, method_411, method_412, method_413, method_417, method_418, method_4186, method_420, method_422, method_424, method_425, 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_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onDestroyed, onEntityCollision, registerTextures, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Constructor Details
-
TorchBlock
protected TorchBlock()
-
-
Method Details
-
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;
-
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
-
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_489
- Mappings:
Namespace Name Mixin selector official mLamn;m(Lafm;III)Zintermediary method_489Lnet/minecraft/class_203;method_489(Lnet/minecraft/class_1150;III)Znamed method_489Lnet/minecraft/block/TorchBlock;method_489(Lnet/minecraft/world/World;III)Z
-
canPlaceBlockAt
- Overrides:
canPlaceBlockAtin classBlock- Mappings:
Namespace Name Mixin selector official cLaht;c(Lafm;III)Zintermediary method_434Lnet/minecraft/class_197;method_434(Lnet/minecraft/class_1150;III)Znamed canPlaceBlockAtLnet/minecraft/block/Block;canPlaceBlockAt(Lnet/minecraft/world/World;III)Z
-
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
-
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
-
breakNaturally
- Overrides:
breakNaturallyin classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafm;III)Vintermediary method_460Lnet/minecraft/class_197;method_460(Lnet/minecraft/class_1150;III)Vnamed breakNaturallyLnet/minecraft/block/Block;breakNaturally(Lnet/minecraft/world/World;III)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_4801
- Mappings:
Namespace Name Mixin selector official bLamn;b(Lafm;IIILaht;)Zintermediary method_4801Lnet/minecraft/class_203;method_4801(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)Znamed method_4801Lnet/minecraft/block/TorchBlock;method_4801(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)Z
-
method_490
- Mappings:
Namespace Name Mixin selector official eLamn;e(Lafm;III)Zintermediary method_490Lnet/minecraft/class_203;method_490(Lnet/minecraft/class_1150;III)Znamed method_490Lnet/minecraft/block/TorchBlock;method_490(Lnet/minecraft/world/World;III)Z
-
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_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
-