Package net.minecraft.block
Class CactusBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.CactusBlock
- Mappings:
Namespace Name intermediary net/minecraft/class_329glue class_352server jeclient ornamed net/minecraft/block/CactusBlock
-
Field Summary
Fields inherited from class net.minecraft.block.Block
BED, BEDROCK, BLOCKS, BLOCKS_ALLOW_VISION, BLOCKS_IGNORE_META_UPDATE, BLOCKS_LIGHT_LUMINANCE, BLOCKS_LIGHT_OPACITY, BLOCKS_OPAQUE, BLOCKS_RANDOM_TICK, BLOCKS_WITH_ENTITY, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, constructed, CRAFTING_TABLE, DANDELION, DEAD_BUSH, DEFAULT_SOUND_GROUP, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DIRT_SOUND_GROUP, DISPENSER, DOOR, DOUBLE_SLAB, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FURNACE, GLASS, GLASS_SOUND_GROUP, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GRASS, GRASS_BLOCK, GRAVEL, GRAVEL_SOUND_GROUP, hardness, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_BLOCK, LAPIS_ORE, LAVA, LEAVES, LEVER, LIT_FURNACE, LIT_REDSTONE_ORE, LIT_REDSTONE_TORCH, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUND_GROUP, minX, minY, minZ, MOSSY_COBBLESTONE, MOVING_PISTON, NETHER_PORTAL, NETHERRACK, NOTE_BLOCK, OBSIDIAN, particleFallSpeedModifier, PISTON, PISTON_HEAD, PLANKS, POWERED_RAIL, POWERED_REPEATER, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_ORE, REDSTONE_TORCH, REDSTONE_WIRE, REPEATER, resistance, ROSE, SAND, SAND_SOUND_GROUP, SANDSTONE, SAPLING, shouldTrackStatistics, SIGN, SLAB, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, soundGroup, SPAWNER, SPONGE, STICKY_PISTON, STONE, STONE_PRESSURE_PLATE, STONE_SOUND_GROUP, SUGAR_CANE, textureId, TNT, TORCH, TRAPDOOR, WALL_SIGN, WATER, WHEAT, WOOD_SOUND_GROUP, WOODEN_PRESSURE_PLATE, WOODEN_STAIRS, WOOL, WOOL_SOUND_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancanPlaceAt(World world, int x, int y, int z) getBoundingBox(World world, int x, int y, int z) getCollisionShape(World world, int x, int y, int z) intintgetTexture(int side) booleanbooleanisOpaque()voidneighborUpdate(World world, int x, int y, int z, int id) voidonEntityCollision(World world, int x, int y, int z, Entity entity) voidCalled at a frequency based on the return value ofBlock.getTickRate().Methods inherited from class net.minecraft.block.Block
addIntersectingBoundingBox, afterBreak, applyVelocity, canEmitRedstonePower, canPlaceAt, canTransferPowerInDirection, disableTrackingStatistics, dropStack, dropStacks, dropStacks, getBlastResistance, getColor, getColorMultiplier, getDroppedItemCount, getDroppedItemId, getDroppedItemMeta, getHardness, getHardness, getLuminance, getPistonBehavior, getRenderLayer, getTexture, getTextureId, getTickRate, getTranslatedName, getTranslationKey, hasCollision, hasCollision, ignoreMetaUpdates, init, isEmittingRedstonePowerInDirection, isSideVisible, isSolidBlock, isTrackingStatistics, onBlockAction, onBlockBreakStart, onBreak, onDestroyedByExplosion, onMetadataChange, onPlaced, onPlaced, onPlaced, onSteppedOn, onUse, randomDisplayTick, raycast, setBoundingBox, setHardness, setLuminance, setOpacity, setResistance, setSoundGroup, setTickRandomly, setTranslationKey, setUnbreakable, setupRenderBoundingBox, updateBoundingBox
-
Constructor Details
-
CactusBlock
protected CactusBlock(int id, int textureId) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_329;<init>(II)Vglue <init>Lclass_352;<init>(II)Vserver <init>Lje;<init>(II)Vclient <init>Lor;<init>(II)Vnamed <init>Lnet/minecraft/block/CactusBlock;<init>(II)V
-
-
Method Details
-
onTick
Called at a frequency based on the return value ofBlock.getTickRate(). This method will be called approximatelyBlock.getTickRate()times per second.- Overrides:
onTickin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1602Lnet/minecraft/class_17;method_1602(Lnet/minecraft/class_18;IIILjava/util/Random;)Vglue method_20Lclass_507;method_20(Lclass_129;IIILjava/util/Random;)Vserver aLna;a(Ldj;IIILjava/util/Random;)Vclient aLuu;a(Lfd;IIILjava/util/Random;)Vnamed onTickLnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
getCollisionShape
- Overrides:
getCollisionShapein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1624Lnet/minecraft/class_17;method_1624(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;glue method_67Lclass_507;method_67(Lclass_129;III)Lclass_113;server eLna;e(Ldj;III)Lcz;client eLuu;e(Lfd;III)Leq;named getCollisionShapeLnet/minecraft/block/Block;getCollisionShape(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
-
getBoundingBox
- Overrides:
getBoundingBoxin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1622Lnet/minecraft/class_17;method_1622(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;glue method_653Lclass_507;method_653(Lclass_129;III)Lclass_113;server method_1622Lna;method_1622(Ldj;III)Lcz;client fLuu;f(Lfd;III)Leq;named getBoundingBoxLnet/minecraft/block/Block;getBoundingBox(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
-
getTexture
public int getTexture(int side) - Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1607Lnet/minecraft/class_17;method_1607(I)Iglue method_37Lclass_507;method_37(I)Iserver aLna;a(I)Iclient aLuu;a(I)Inamed getTextureLnet/minecraft/block/Block;getTexture(I)I
-
isFullCube
public boolean isFullCube()- Overrides:
isFullCubein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1623Lnet/minecraft/class_17;method_1623()Zglue method_66Lclass_507;method_66()Zserver bLna;b()Zclient dLuu;d()Znamed isFullCubeLnet/minecraft/block/Block;isFullCube()Z
-
isOpaque
public boolean isOpaque() -
getRenderType
- Overrides:
getRenderTypein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1621Lnet/minecraft/class_17;method_1621()Iglue method_652Lclass_507;method_652()Iserver method_1621Lna;method_1621()Iclient bLuu;b()Inamed getRenderTypeLnet/minecraft/block/Block;getRenderType()I
-
canPlaceAt
- Overrides:
canPlaceAtin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1567Lnet/minecraft/class_17;method_1567(Lnet/minecraft/class_18;III)Zglue method_153Lclass_507;method_153(Lclass_129;III)Zserver aLna;a(Ldj;III)Zclient aLuu;a(Lfd;III)Znamed canPlaceAtLnet/minecraft/block/Block;canPlaceAt(Lnet/minecraft/world/World;III)Z
-
neighborUpdate
- Overrides:
neighborUpdatein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1609Lnet/minecraft/class_17;method_1609(Lnet/minecraft/class_18;IIII)Vglue method_39Lclass_507;method_39(Lclass_129;IIII)Vserver bLna;b(Ldj;IIII)Vclient bLuu;b(Lfd;IIII)Vnamed neighborUpdateLnet/minecraft/block/Block;neighborUpdate(Lnet/minecraft/world/World;IIII)V
-
canGrow
- Overrides:
canGrowin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1566Lnet/minecraft/class_17;method_1566(Lnet/minecraft/class_18;III)Zglue method_1425Lclass_507;method_1425(Lclass_129;III)Zserver fLna;f(Ldj;III)Zclient gLuu;g(Lfd;III)Znamed canGrowLnet/minecraft/block/Block;canGrow(Lnet/minecraft/world/World;III)Z
-
onEntityCollision
- Overrides:
onEntityCollisionin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1615Lnet/minecraft/class_17;method_1615(Lnet/minecraft/class_18;IIILnet/minecraft/class_57;)Vglue method_59Lclass_507;method_59(Lclass_129;IIILclass_450;)Vserver aLna;a(Ldj;IIILlq;)Vclient aLuu;a(Lfd;IIILsn;)Vnamed onEntityCollisionLnet/minecraft/block/Block;onEntityCollision(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;)V
-