Package net.minecraft.block
Class NoteBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.NoteBlock
- All Implemented Interfaces:
BlockEntityProvider
- Mappings:
Namespace Name official akuintermediary net/minecraft/class_161named net/minecraft/block/NoteBlock
-
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 TypeMethodDescriptioncreateBlockEntity(World world, int id) voidmethod_420(World world, int int2, int int3, int int4, PlayerEntity playerEntity) booleanmethod_435(World world, int int2, int int3, int int4, int int5, int int6) 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) Methods inherited from class net.minecraft.block.BlockWithEntity
breakNaturally, method_411Methods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBlockType, 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, hasTransperancy, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_398, method_400, method_405, method_407, method_410, method_412, method_413, method_414, method_415, method_417, method_418, method_4185, method_4186, method_422, method_424, method_425, method_427, method_428, method_431, method_437, method_438, method_446, method_448, method_452, method_454, 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, renderAsNormalBlock, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Constructor Details
-
NoteBlock
public NoteBlock()
-
-
Method Details
-
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
-
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_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
-
createBlockEntity
- Mappings:
Namespace Name Mixin selector official aLajh;a(Lafm;I)Lanc;intermediary method_309Lnet/minecraft/class_1451;method_309(Lnet/minecraft/class_1150;I)Lnet/minecraft/class_226;named createBlockEntityLnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/world/World;I)Lnet/minecraft/block/entity/BlockEntity;
-
method_435
- Overrides:
method_435in classBlockWithEntity- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIII)Zintermediary method_435Lnet/minecraft/class_197;method_435(Lnet/minecraft/class_1150;IIIII)Znamed method_435Lnet/minecraft/block/Block;method_435(Lnet/minecraft/world/World;IIIII)Z
-