Package net.minecraft.block
Class Cactus
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.Cactus
- Mappings:
Namespace Name intermediary net/minecraft/class_329glue class_352server jeclient ornamed net/minecraft/block/Cactus
-
Field Summary
Fields inherited from class net.minecraft.block.BlockBase
ALLOWS_GRASS_UNDER, BED, BEDROCK, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, BY_ID, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, CROPS, DANDELION, DEADBUSH, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DISPENSER, DOUBLE_STONE_SLAB, EMITTANCE, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FULL_OPAQUE, FURNACE, FURNACE_LIT, GLASS, GLASS_SOUNDS, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GOLDEN_RAIL, GRASS, GRASS_SOUNDS, GRAVEL, GRAVEL_SOUNDS, hardness, HAS_TILE_ENTITY, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, isStatEnabled, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_LAZULI_BLOCK, LAPIS_LAZULI_ORE, LEAVES, LEVER, LIGHT_OPACITY, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUNDS, minX, minY, minZ, MOB_SPAWNER, MOSSY_COBBLESTONE, MOVING_PISTON, NETHERRACK, NO_NOTIFY_ON_META_CHANGE, NOTEBLOCK, OBSIDIAN, particalSpeed, PISTON, PISTON_HEAD, PISTON_SOUNDS, PORTAL, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_DUST, REDSTONE_ORE, REDSTONE_ORE_LIT, REDSTONE_REPEATER, REDSTONE_REPEATER_LIT, REDSTONE_TORCH, REDSTONE_TORCH_LIT, resistance, ROSE, SAND, SAND_SOUNDS, SANDSTONE, SAPLING, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, sounds, SPONGE, STANDING_SIGN, STICKY_PISTON, STILL_LAVA, STILL_WATER, STONE, STONE_PRESSURE_PLATE, STONE_SLAB, STONE_SOUNDS, SUGAR_CANES, TALLGRASS, texture, TICKS_RANDOMLY, TNT, TORCH, TRAPDOOR, unusedBoolean1, WALL_SIGN, WOOD, WOOD_DOOR, WOOD_SOUNDS, WOOD_STAIRS, WOODEN_PRESSURE_PLATE, WOOL, WOOL_SOUNDS, WORKBENCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancanPlaceAt(Level level, int x, int y, int z) getCollisionShape(Level level, int x, int y, int z) getOutlineShape(Level level, int x, int y, int z) intintgetTextureForSide(int side) booleanbooleanvoidonAdjacentBlockUpdate(Level level, int x, int y, int z, int id) voidonEntityCollision(Level level, int x, int y, int z, EntityBase entityBase) voidonScheduledTick(Level level, int x, int y, int z, Random rand) Methods inherited from class net.minecraft.block.BlockBase
activate, activate, afterBreak, afterPlaced, beforeDestroyedByExplosion, canPlaceAt, canUse, disableNotifyOnMetaDataChange, disableStat, doesBoxCollide, drop, drop, droppedMeta, getBaseColour, getBlastResistance, getBrightness, getColourMultiplier, getDropCount, getDropId, getEmitsRedstonePower, getHardness, getHardness, getPistonPushMode, getRenderPass, getTextureForSide, getTextureForSide, getTickrate, getTranslatedName, getTranslationKey, indirectlyPowered, init, isCollidable, isCollidable, isPowered, isSideRendered, isSolid, isStatEnabled, method_1564, method_1605, onBlockPlaced, onBlockPlaced, onBlockRemoved, onCollideWithEntity, onDestroyedByExplosion, onSteppedOn, onTileAction, randomDisplayTick, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable, updateBoundingBox
-
Constructor Details
-
Cactus
protected Cactus(int id, int texture) - 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/Cactus;<init>(II)V
-
-
Method Details
-
onScheduledTick
- Overrides:
onScheduledTickin classBlockBase- 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 onScheduledTickLnet/minecraft/block/BlockBase;onScheduledTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
-
getCollisionShape
- Overrides:
getCollisionShapein classBlockBase- 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/BlockBase;getCollisionShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
-
getOutlineShape
- Overrides:
getOutlineShapein classBlockBase- 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 getOutlineShapeLnet/minecraft/block/BlockBase;getOutlineShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
-
getTextureForSide
public int getTextureForSide(int side) - Overrides:
getTextureForSidein classBlockBase- 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 getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(I)I
-
isFullCube
public boolean isFullCube()- Overrides:
isFullCubein classBlockBase- 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/BlockBase;isFullCube()Z
-
isFullOpaque
public boolean isFullOpaque()- Overrides:
isFullOpaquein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1620Lnet/minecraft/class_17;method_1620()Zglue method_65Lclass_507;method_65()Zserver aLna;a()Zclient cLuu;c()Znamed isFullOpaqueLnet/minecraft/block/BlockBase;isFullOpaque()Z
-
getRenderType
- Overrides:
getRenderTypein classBlockBase- 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/BlockBase;getRenderType()I
-
canPlaceAt
- Overrides:
canPlaceAtin classBlockBase- 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/BlockBase;canPlaceAt(Lnet/minecraft/level/Level;III)Z
-
onAdjacentBlockUpdate
- Overrides:
onAdjacentBlockUpdatein classBlockBase- 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 onAdjacentBlockUpdateLnet/minecraft/block/BlockBase;onAdjacentBlockUpdate(Lnet/minecraft/level/Level;IIII)V
-
canGrow
- Overrides:
canGrowin classBlockBase- 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/BlockBase;canGrow(Lnet/minecraft/level/Level;III)Z
-
onEntityCollision
- Overrides:
onEntityCollisionin classBlockBase- 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/BlockBase;onEntityCollision(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/EntityBase;)V
-