Package net.minecraft.block
Class WallBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.WallBlock
- Mappings:
Namespace Name official auvintermediary net/minecraft/class_1307named net/minecraft/block/WallBlock
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BooleanPropertyprotected static final Box[]protected static final Box[]static final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertystatic final EnumProperty<WallBlock.WallType>static final BooleanPropertyFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockEntity, blockSoundGroup, collisionBox, EMPTY_BOX, fullBlock, hardness, lightLevel, material, materialColor, opacity, particleGravity, randomTicks, REGISTRY, slipperiness, stateManager, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStacksForDisplay(ItemGroup group, DefaultedList<ItemStack> stacks) voidappendCollisionBoxes(BlockState state, World world, BlockPos pos, Box entityBox, List<Box> boxes, Entity entity, boolean isActualState) protected StateManagerReturns a new state manager with a property array.booleanblocksMovement(BlockView view, BlockPos pos) getBlockState(BlockState state, BlockView view, BlockPos pos) Returns the current block's blockstate at a certain positiongetCollisionBox(BlockState state, BlockView view, BlockPos pos) intgetData(BlockState state) Returns the data value for a blockstate Throws anIllegalArmumentExceptionas this method does not workintgetMeta(BlockState state) Returns the metadata value for a certain BlockStateTranslates and returns the translation keybooleanisFullBoundsCubeForCulling(BlockState blockState) booleanmethod_11562(BlockState state) private static intmethod_11643(BlockState blockState) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) private booleanmethod_14352(BlockView blockView, BlockPos blockPos, Direction direction) protected static booleanmethod_14353(Block block) method_8640(BlockState blockState, BlockView blockView, BlockPos blockPos) booleanmethod_8654(BlockState state, BlockView view, BlockPos pos, Direction direction) stateFromData(int data) Returns a blockstate of the current block from it's idMethods inherited from class net.minecraft.block.Block
appendCollisionBoxes, areBlocksEqual, canBePlacedAdjacent, canBePlacedAtPos, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, get, getBlastResistance, getBlockFromItem, getBlockRenderType, getBonusDrops, getByBlockState, getById, getComparatorOutput, getDefaultState, getDropCount, getDropItem, getHardness, getIdByBlock, getItemGroup, getLuminance, getMaterial, getMaterialColor, getOffsetType, getOpacity, getPistonBehavior, getRenderLayerType, getSoundGroup, getStateFromData, getStateFromRawId, getStateManager, getTickRate, getTranslationKey, hasBlockEntity, hasCollision, hasStats, isEqualTo, isFire, isFullBlock, isTransluscent, method_11557, method_11559, method_11563, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13702, method_13703, method_13704, method_14306, method_14308, method_14309, method_414, method_435, method_8638, method_8640, method_8651, method_8653, method_8664, method_8669, onBlockBreak, onBlockBreakStart, onBreak, onBreakByPlayer, onBreakByPlayer, onBreaking, onCreation, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onLandedUpon, onPlaced, onSteppedOn, onUpdateTick, rainTick, randomDropAsItem, requiresSilkTouch, scheduledTick, setBlockSoundGroup, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, toString, use, useNeighbourLight, withMirror, withRotation
-
Field Details
-
UP
- Mappings:
Namespace Name Mixin selector official aLauv;a:Laxf;intermediary field_9782Lnet/minecraft/class_1307;field_9782:Lnet/minecraft/class_2243;named UPLnet/minecraft/block/WallBlock;UP:Lnet/minecraft/state/property/BooleanProperty;
-
NORTH
- Mappings:
Namespace Name Mixin selector official bLauv;b:Laxf;intermediary field_9783Lnet/minecraft/class_1307;field_9783:Lnet/minecraft/class_2243;named NORTHLnet/minecraft/block/WallBlock;NORTH:Lnet/minecraft/state/property/BooleanProperty;
-
EAST
- Mappings:
Namespace Name Mixin selector official cLauv;c:Laxf;intermediary field_9778Lnet/minecraft/class_1307;field_9778:Lnet/minecraft/class_2243;named EASTLnet/minecraft/block/WallBlock;EAST:Lnet/minecraft/state/property/BooleanProperty;
-
SOUTH
- Mappings:
Namespace Name Mixin selector official dLauv;d:Laxf;intermediary field_9779Lnet/minecraft/class_1307;field_9779:Lnet/minecraft/class_2243;named SOUTHLnet/minecraft/block/WallBlock;SOUTH:Lnet/minecraft/state/property/BooleanProperty;
-
WEST
- Mappings:
Namespace Name Mixin selector official eLauv;e:Laxf;intermediary field_9780Lnet/minecraft/class_1307;field_9780:Lnet/minecraft/class_2243;named WESTLnet/minecraft/block/WallBlock;WEST:Lnet/minecraft/state/property/BooleanProperty;
-
VARIANT
- Mappings:
Namespace Name Mixin selector official fLauv;f:Laxh;intermediary field_9781Lnet/minecraft/class_1307;field_9781:Lnet/minecraft/class_2245;named VARIANTLnet/minecraft/block/WallBlock;VARIANT:Lnet/minecraft/state/property/EnumProperty;
-
field_12831
- Mappings:
Namespace Name Mixin selector official gLauv;g:[Lbhb;intermediary field_12831Lnet/minecraft/class_1307;field_12831:[Lnet/minecraft/class_231;named field_12831Lnet/minecraft/block/WallBlock;field_12831:[Lnet/minecraft/util/math/Box;
-
field_12830
- Mappings:
Namespace Name Mixin selector official BLauv;B:[Lbhb;intermediary field_12830Lnet/minecraft/class_1307;field_12830:[Lnet/minecraft/class_231;named field_12830Lnet/minecraft/block/WallBlock;field_12830:[Lnet/minecraft/util/math/Box;
-
-
Constructor Details
-
WallBlock
-
-
Method Details
-
getCollisionBox
- Overrides:
getCollisionBoxin classBlock- Mappings:
Namespace Name Mixin selector official bLaow;b(Lawt;Lamy;Let;)Lbhb;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;named getCollisionBoxLnet/minecraft/block/Block;getCollisionBox(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
-
appendCollisionBoxes
public void appendCollisionBoxes(BlockState state, World world, BlockPos pos, Box entityBox, List<Box> boxes, @Nullable Entity entity, boolean isActualState) - Overrides:
appendCollisionBoxesin classBlock- Mappings:
Namespace Name Mixin selector official aLaow;a(Lawt;Lamu;Let;Lbhb;Ljava/util/List;Lvg;Z)Vintermediary method_11553Lnet/minecraft/class_197;method_11553(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_231;Ljava/util/List;Lnet/minecraft/class_864;Z)Vnamed appendCollisionBoxesLnet/minecraft/block/Block;appendCollisionBoxes(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Box;Ljava/util/List;Lnet/minecraft/entity/Entity;Z)V
-
method_8640
- Overrides:
method_8640in classBlock- Mappings:
Namespace Name Mixin selector official aLaow;a(Lawt;Lamy;Let;)Lbhb;intermediary method_8640Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;named method_8640Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
-
method_11643
- Mappings:
Namespace Name Mixin selector official xLauv;x(Lawt;)Iintermediary method_11643Lnet/minecraft/class_1307;method_11643(Lnet/minecraft/class_2232;)Inamed method_11643Lnet/minecraft/block/WallBlock;method_11643(Lnet/minecraft/block/BlockState;)I
-
getTranslatedName
Translates and returns the translation key- Overrides:
getTranslatedNamein classBlock- Returns:
- Translated name
- Mappings:
Namespace Name Mixin selector official cLaow;c()Ljava/lang/String;intermediary method_480Lnet/minecraft/class_197;method_480()Ljava/lang/String;named getTranslatedNameLnet/minecraft/block/Block;getTranslatedName()Ljava/lang/String;
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official cLaow;c(Lawt;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
blocksMovement
- Overrides:
blocksMovementin classBlock- Mappings:
Namespace Name Mixin selector official bLaow;b(Lamy;Let;)Zintermediary method_8663Lnet/minecraft/class_197;method_8663(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Znamed blocksMovementLnet/minecraft/block/Block;blocksMovement(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
isFullBoundsCubeForCulling
- Overrides:
isFullBoundsCubeForCullingin classBlock- Mappings:
Namespace Name Mixin selector official bLaow;b(Lawt;)Zintermediary method_11560Lnet/minecraft/class_197;method_11560(Lnet/minecraft/class_2232;)Znamed isFullBoundsCubeForCullingLnet/minecraft/block/Block;isFullBoundsCubeForCulling(Lnet/minecraft/block/BlockState;)Z
-
method_14352
- Mappings:
Namespace Name Mixin selector official aLauv;a(Lamy;Let;Lfa;)Zintermediary method_14352Lnet/minecraft/class_1307;method_14352(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Znamed method_14352Lnet/minecraft/block/WallBlock;method_14352(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
method_14353
- Mappings:
Namespace Name Mixin selector official eLauv;e(Laow;)Zintermediary method_14353Lnet/minecraft/class_1307;method_14353(Lnet/minecraft/class_197;)Znamed method_14353Lnet/minecraft/block/WallBlock;method_14353(Lnet/minecraft/block/Block;)Z
-
addStacksForDisplay
- Overrides:
addStacksForDisplayin classBlock- Mappings:
Namespace Name Mixin selector official aLaow;a(Lahp;Lfi;)Vintermediary method_14305Lnet/minecraft/class_197;method_14305(Lnet/minecraft/class_1041;Lnet/minecraft/class_3114;)Vnamed addStacksForDisplayLnet/minecraft/block/Block;addStacksForDisplay(Lnet/minecraft/item/itemgroup/ItemGroup;Lnet/minecraft/util/collection/DefaultedList;)V
-
getMeta
Returns the metadata value for a certain BlockState- Overrides:
getMetain classBlock- Parameters:
state- The BlockState- Returns:
- Metadata value
- Mappings:
Namespace Name Mixin selector official dLaow;d(Lawt;)Iintermediary method_8655Lnet/minecraft/class_197;method_8655(Lnet/minecraft/class_2232;)Inamed getMetaLnet/minecraft/block/Block;getMeta(Lnet/minecraft/block/BlockState;)I
-
method_8654
@Environment(CLIENT) public boolean method_8654(BlockState state, BlockView view, BlockPos pos, Direction direction) - Overrides:
method_8654in classBlock- Mappings:
Namespace Name Mixin selector official aLaow;a(Lawt;Lamy;Let;Lfa;)Zintermediary method_8654Lnet/minecraft/class_197;method_8654(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Znamed method_8654Lnet/minecraft/block/Block;method_8654(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
stateFromData
Returns a blockstate of the current block from it's id- Overrides:
stateFromDatain classBlock- Parameters:
data- The Blockstate's associated data value- Returns:
- The Default state
- Mappings:
Namespace Name Mixin selector official aLaow;a(I)Lawt;intermediary method_8635Lnet/minecraft/class_197;method_8635(I)Lnet/minecraft/class_2232;named stateFromDataLnet/minecraft/block/Block;stateFromData(I)Lnet/minecraft/block/BlockState;
-
getData
Returns the data value for a blockstate Throws anIllegalArmumentExceptionas this method does not work- Overrides:
getDatain classBlock- Parameters:
state- The Blockstate- Returns:
- Zero
- Mappings:
Namespace Name Mixin selector official eLaow;e(Lawt;)Iintermediary method_8671Lnet/minecraft/class_197;method_8671(Lnet/minecraft/class_2232;)Inamed getDataLnet/minecraft/block/Block;getData(Lnet/minecraft/block/BlockState;)I
-
getBlockState
Returns the current block's blockstate at a certain position- Overrides:
getBlockStatein classBlock- Parameters:
state- The original blockstateview- BlockView instancepos- The block's position- Returns:
- state
- Mappings:
Namespace Name Mixin selector official dLaow;d(Lawt;Lamy;Let;)Lawt;intermediary method_8656Lnet/minecraft/class_197;method_8656(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;named getBlockStateLnet/minecraft/block/Block;getBlockState(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
appendProperties
Returns a new state manager with a property array.- Overrides:
appendPropertiesin classBlock- Returns:
- New state manager
- Mappings:
Namespace Name Mixin selector official bLaow;b()Lawu;intermediary method_8676Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;named appendPropertiesLnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;
-
method_14307
public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) - Overrides:
method_14307in classBlock- Mappings:
Namespace Name Mixin selector official aLaow;a(Lamy;Lawt;Let;Lfa;)Lawr;intermediary method_14307Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;named method_14307Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;
-