Package net.minecraft.block
Class EnderChestBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.EnderChestBlock
- All Implemented Interfaces:
BlockEntityProvider
- Mappings:
Namespace Name official ajgintermediary net/minecraft/class_132named net/minecraft/block/EnderChestBlock
-
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) intintgetDropCount(Random rand) Returns the amount of items the block should drop on breaking without bonus rolls.booleanmethod_398(int int2, Random random, int int3) voidmethod_415(World world, int int2, int int3, int int4, Random random) booleanonActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) voidonBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidregisterTextures(TextureRegistry registry) booleanReturns whether the block can be rendered as a normal blockprotected booleanMethods inherited from class net.minecraft.block.BlockWithEntity
breakNaturally, method_411, method_435Methods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, 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_400, method_405, method_407, method_410, method_412, method_413, method_414, method_417, method_418, method_4185, method_4186, method_420, method_422, method_424, method_425, 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_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onDestroyed, onEntityCollision, onNeighborUpdate, onTick, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Constructor Details
-
EnderChestBlock
protected EnderChestBlock()
-
-
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
-
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_398
- Overrides:
method_398in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(ILjava/util/Random;I)Labm;intermediary method_398Lnet/minecraft/class_197;method_398(ILjava/util/Random;I)Lnet/minecraft/class_1069;named method_398Lnet/minecraft/block/Block;method_398(ILjava/util/Random;I)Lnet/minecraft/item/Item;
-
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
-
requiresSilkTouch
protected boolean requiresSilkTouch()- Overrides:
requiresSilkTouchin classBlock- Mappings:
Namespace Name Mixin selector official ELaht;E()Zintermediary method_475Lnet/minecraft/class_197;method_475()Znamed requiresSilkTouchLnet/minecraft/block/Block;requiresSilkTouch()Z
-
onBreak
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILrg;Labo;)Vintermediary method_419Lnet/minecraft/class_197;method_419(Lnet/minecraft/class_1150;IIILnet/minecraft/class_1699;Lnet/minecraft/class_1071;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;IIILnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)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
-
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_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
-
registerTextures
- Overrides:
registerTexturesin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lps;)Vintermediary method_4791Lnet/minecraft/class_197;method_4791(Lnet/minecraft/class_1558;)Vnamed registerTexturesLnet/minecraft/block/Block;registerTextures(Lnet/minecraft/client/TextureRegistry;)V
-