Package net.minecraft.block
Class CactusBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.CactusBlock
- Mappings:
Namespace Name official aieintermediary net/minecraft/class_115named net/minecraft/block/CactusBlock
-
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 TypeMethodDescriptionbooleancanPlaceBlockAt(World world, int x, int y, int z) booleancanStayPlaced(World world, int x, int y, int z) intgetCollisionBox(World world, int int2, int int3, int int4) getTexture(int side, int blockData) booleanmethod_454(World world, int int2, int int3, int int4) voidonEntityCollision(World world, int x, int y, int z, Entity entity) voidonNeighborUpdate(World world, int x, int y, int z, Block block) voidvoidregisterTextures(TextureRegistry registry) booleanReturns whether the block can be rendered as a normal blockMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBonusDrops, getById, 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_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, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_5523
- Mappings:
Namespace Name Mixin selector official aLaie;a:Lpr;intermediary field_5523Lnet/minecraft/class_115;field_5523:Lnet/minecraft/class_1557;named field_5523Lnet/minecraft/block/CactusBlock;field_5523:Lnet/minecraft/client/Texture;
-
field_5524
- Mappings:
Namespace Name Mixin selector official bLaie;b:Lpr;intermediary field_5524Lnet/minecraft/class_115;field_5524:Lnet/minecraft/class_1557;named field_5524Lnet/minecraft/block/CactusBlock;field_5524:Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
CactusBlock
protected CactusBlock()
-
-
Method Details
-
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
-
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;
-
getCollisionBox
- Overrides:
getCollisionBoxin classBlock- Mappings:
Namespace Name Mixin selector official gLaht;g(Lafm;III)Laye;intermediary method_427Lnet/minecraft/class_197;method_427(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_231;named getCollisionBoxLnet/minecraft/block/Block;getCollisionBox(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
-
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;
-
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
-
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
-
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
-
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
-
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
-
onEntityCollision
- Overrides:
onEntityCollisionin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILqm;)Vintermediary method_416Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_1150;IIILnet/minecraft/class_864;)Vnamed onEntityCollisionLnet/minecraft/block/Block;onEntityCollision(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;)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
-