Package net.minecraft.block
Class CarpetBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.CarpetBlock
- Mappings:
Namespace Name official anaintermediary net/minecraft/class_1596named net/minecraft/block/CarpetBlock
-
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 TypeMethodDescriptionvoidappendItemStacks(Item item, ItemGroup group, List stacks) Appends ItemStacks to an itemgroup.booleancanPlaceBlockAt(World world, int x, int y, int z) booleancanStayPlaced(World world, int x, int y, int z) getTexture(int side, int blockData) booleanvoidmethod_425(BlockView blockView, int int2, int int3, int int4) intmethod_431(int int2) method_454(World world, int int2, int int3, int int4) protected voidmethod_5547(int int2) private booleanmethod_5548(World world, int int2, int int3, int int4) voidonNeighborUpdate(World world, int x, int y, int z, Block block) voidregisterTextures(TextureRegistry registry) booleanReturns whether the block can be rendered as a normal blockvoidSets the bounds for the BlockItembooleanshouldRenderSide(BlockView world, int x, int y, int z, int blockData) Methods inherited from class net.minecraft.block.Block
areBlocksEqual, breakNaturally, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBlockType, getBonusDrops, getById, getCollisionBox, getColor, getDropCount, getHardness, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getStrongRedstonePower, 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_414, method_415, method_417, method_418, method_4185, method_4186, method_420, method_422, method_424, method_428, 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, onTick, requiresSilkTouch, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, usesNeighbourLight
-
Constructor Details
-
CarpetBlock
protected CarpetBlock()
-
-
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;
-
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
-
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_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
-
method_5547
protected void method_5547(int int2) - Mappings:
Namespace Name Mixin selector official bLana;b(I)Vintermediary method_5547Lnet/minecraft/class_1596;method_5547(I)Vnamed method_5547Lnet/minecraft/block/CarpetBlock;method_5547(I)V
-
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
-
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_5548
- Mappings:
Namespace Name Mixin selector official eLana;e(Lafm;III)Zintermediary method_5548Lnet/minecraft/class_1596;method_5548(Lnet/minecraft/class_1150;III)Znamed method_5548Lnet/minecraft/block/CarpetBlock;method_5548(Lnet/minecraft/world/World;III)Z
-
canStayPlaced
- Overrides:
canStayPlacedin classBlock- Mappings:
Namespace Name Mixin selector official jLaht;j(Lafm;III)Zintermediary method_450Lnet/minecraft/class_197;method_450(Lnet/minecraft/class_1150;III)Znamed canStayPlacedLnet/minecraft/block/Block;canStayPlaced(Lnet/minecraft/world/World;III)Z
-
shouldRenderSide
@Environment(CLIENT) public boolean shouldRenderSide(BlockView world, int x, int y, int z, int blockData) - Overrides:
shouldRenderSidein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafw;IIII)Zintermediary method_447Lnet/minecraft/class_197;method_447(Lnet/minecraft/class_1158;IIII)Znamed shouldRenderSideLnet/minecraft/block/Block;shouldRenderSide(Lnet/minecraft/world/BlockView;IIII)Z
-
method_431
public int method_431(int int2) - Overrides:
method_431in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(I)Iintermediary method_431Lnet/minecraft/class_197;method_431(I)Inamed method_431Lnet/minecraft/block/Block;method_431(I)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
-
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
-