Package net.minecraft.block
Class InfestedBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.InfestedBlock
- Mappings:
Namespace Name official akmintermediary net/minecraft/class_190named net/minecraft/block/InfestedBlock
-
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 TypeMethodDescriptionvoidappendItemStacks(Item item, ItemGroup group, List stacks) Appends ItemStacks to an itemgroup.intgetDropCount(Random rand) Returns the amount of items the block should drop on breaking without bonus rolls.getTexture(int side, int blockData) voidmethod_410(World world, int int2, int int3, int int4, int int5, float float2, int int6) protected ItemStackmethod_448(int int2) intmethod_463(World world, int int2, int int3, int int4) static booleanmethod_6494(Block block) static intmethod_6495(Block block, int int2) static ImmutablePairmethod_6496(int int2) voidonDestroyed(World world, int x, int y, int z, int blockData) voidregisterTextures(TextureRegistry registry) Methods inherited from class net.minecraft.block.Block
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, 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_411, method_412, method_413, method_414, method_415, method_417, method_418, method_4185, method_4186, method_420, method_422, method_424, method_425, method_428, method_431, method_435, method_437, method_438, method_446, method_452, method_454, method_455, method_457, method_459, method_461, method_464, method_468, method_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onEntityCollision, onNeighborUpdate, onTick, renderAsNormalBlock, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_7465
- Mappings:
Namespace Name Mixin selector official aLakm;a:[Ljava/lang/String;intermediary field_7465Lnet/minecraft/class_190;field_7465:[Ljava/lang/String;named field_7465Lnet/minecraft/block/InfestedBlock;field_7465:[Ljava/lang/String;
-
-
Constructor Details
-
InfestedBlock
public InfestedBlock()
-
-
Method Details
-
getTexture
- Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(II)Lpr;intermediary method_395Lnet/minecraft/class_197;method_395(II)Lnet/minecraft/class_1557;named getTextureLnet/minecraft/block/Block;getTexture(II)Lnet/minecraft/client/Texture;
-
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
-
onDestroyed
- Overrides:
onDestroyedin classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafm;IIII)Vintermediary method_451Lnet/minecraft/class_197;method_451(Lnet/minecraft/class_1150;IIII)Vnamed onDestroyedLnet/minecraft/block/Block;onDestroyed(Lnet/minecraft/world/World;IIII)V
-
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_6494
- Mappings:
Namespace Name Mixin selector official aLakm;a(Laht;)Zintermediary method_6494Lnet/minecraft/class_190;method_6494(Lnet/minecraft/class_197;)Znamed method_6494Lnet/minecraft/block/InfestedBlock;method_6494(Lnet/minecraft/block/Block;)Z
-
method_6495
- Mappings:
Namespace Name Mixin selector official aLakm;a(Laht;I)Iintermediary method_6495Lnet/minecraft/class_190;method_6495(Lnet/minecraft/class_197;I)Inamed method_6495Lnet/minecraft/block/InfestedBlock;method_6495(Lnet/minecraft/block/Block;I)I
-
method_6496
- Mappings:
Namespace Name Mixin selector official bLakm;b(I)Lorg/apache/commons/lang3/tuple/ImmutablePair;intermediary method_6496Lnet/minecraft/class_190;method_6496(I)Lorg/apache/commons/lang3/tuple/ImmutablePair;named method_6496Lnet/minecraft/block/InfestedBlock;method_6496(I)Lorg/apache/commons/lang3/tuple/ImmutablePair;
-
method_448
- Overrides:
method_448in classBlock- Mappings:
Namespace Name Mixin selector official jLaht;j(I)Labo;intermediary method_448Lnet/minecraft/class_197;method_448(I)Lnet/minecraft/class_1071;named method_448Lnet/minecraft/block/Block;method_448(I)Lnet/minecraft/item/ItemStack;
-
method_410
- Overrides:
method_410in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIIFI)Vintermediary method_410Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_1150;IIIIFI)Vnamed method_410Lnet/minecraft/block/Block;method_410(Lnet/minecraft/world/World;IIIIFI)V
-
method_463
- Overrides:
method_463in classBlock- Mappings:
Namespace Name Mixin selector official kLaht;k(Lafm;III)Iintermediary method_463Lnet/minecraft/class_197;method_463(Lnet/minecraft/class_1150;III)Inamed method_463Lnet/minecraft/block/Block;method_463(Lnet/minecraft/world/World;III)I
-
appendItemStacks
Appends ItemStacks to an itemgroup. Only called on the client.- Overrides:
appendItemStacksin classBlock- Parameters:
item- The Item that must be addedgroup- The ItemGroup that the item must be added tostacks- The list of currently added ItemStacks to the ItemGroup- Mappings:
Namespace Name Mixin selector official aLaht;a(Labm;Laae;Ljava/util/List;)Vintermediary method_399Lnet/minecraft/class_197;method_399(Lnet/minecraft/class_1069;Lnet/minecraft/class_1041;Ljava/util/List;)Vnamed appendItemStacksLnet/minecraft/block/Block;appendItemStacks(Lnet/minecraft/item/Item;Lnet/minecraft/item/itemgroup/ItemGroup;Ljava/util/List;)V
-