Package net.minecraft.block
Class AbstractBlock.Settings
java.lang.Object
net.minecraft.block.AbstractBlock.Settings
- Enclosing class:
- AbstractBlock
public static class AbstractBlock.Settings extends Object
- Mappings:
Namespace Name official chs$c
intermediary net/minecraft/class_4970$class_2251
named net/minecraft/block/AbstractBlock$Settings
-
Field Summary
Fields Modifier and Type Field Description private AbstractBlock.TypedContextPredicate<EntityType<?>>
allowsSpawningPredicate
private AbstractBlock.ContextPredicate
blockVisionPredicate
private boolean
collidable
private boolean
dynamicBounds
private AbstractBlock.ContextPredicate
emissiveLightingPredicate
private float
hardness
private boolean
isAir
private float
jumpVelocityMultiplier
private Identifier
lootTableId
private ToIntFunction<BlockState>
luminance
private Function<BlockState,MapColor>
mapColorProvider
private Material
material
private boolean
opaque
private AbstractBlock.ContextPredicate
postProcessPredicate
private boolean
randomTicks
private float
resistance
private float
slipperiness
private AbstractBlock.ContextPredicate
solidBlockPredicate
private BlockSoundGroup
soundGroup
private AbstractBlock.ContextPredicate
suffocationPredicate
private boolean
toolRequired
private float
velocityMultiplier
-
Constructor Summary
-
Method Summary
-
Field Details
-
material
- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a:Ldap;
intermediary field_10668
Lnet/minecraft/class_4970$class_2251;field_10668:Lnet/minecraft/class_3614;
named material
Lnet/minecraft/block/AbstractBlock$Settings;material:Lnet/minecraft/block/Material;
-
mapColorProvider
- Mappings:
Namespace Name Mixin selector official b
Lchs$c;b:Ljava/util/function/Function;
intermediary field_10662
Lnet/minecraft/class_4970$class_2251;field_10662:Ljava/util/function/Function;
named mapColorProvider
Lnet/minecraft/block/AbstractBlock$Settings;mapColorProvider:Ljava/util/function/Function;
-
collidable
private boolean collidable- Mappings:
Namespace Name Mixin selector official c
Lchs$c;c:Z
intermediary field_10664
Lnet/minecraft/class_4970$class_2251;field_10664:Z
named collidable
Lnet/minecraft/block/AbstractBlock$Settings;collidable:Z
-
soundGroup
- Mappings:
Namespace Name Mixin selector official d
Lchs$c;d:Lcdg;
intermediary field_10665
Lnet/minecraft/class_4970$class_2251;field_10665:Lnet/minecraft/class_2498;
named soundGroup
Lnet/minecraft/block/AbstractBlock$Settings;soundGroup:Lnet/minecraft/sound/BlockSoundGroup;
-
luminance
- Mappings:
Namespace Name Mixin selector official e
Lchs$c;e:Ljava/util/function/ToIntFunction;
intermediary field_10663
Lnet/minecraft/class_4970$class_2251;field_10663:Ljava/util/function/ToIntFunction;
named luminance
Lnet/minecraft/block/AbstractBlock$Settings;luminance:Ljava/util/function/ToIntFunction;
-
resistance
private float resistance- Mappings:
Namespace Name Mixin selector official f
Lchs$c;f:F
intermediary field_10660
Lnet/minecraft/class_4970$class_2251;field_10660:F
named resistance
Lnet/minecraft/block/AbstractBlock$Settings;resistance:F
-
hardness
private float hardness- Mappings:
Namespace Name Mixin selector official g
Lchs$c;g:F
intermediary field_10669
Lnet/minecraft/class_4970$class_2251;field_10669:F
named hardness
Lnet/minecraft/block/AbstractBlock$Settings;hardness:F
-
toolRequired
private boolean toolRequired- Mappings:
Namespace Name Mixin selector official h
Lchs$c;h:Z
intermediary field_25185
Lnet/minecraft/class_4970$class_2251;field_25185:Z
named toolRequired
Lnet/minecraft/block/AbstractBlock$Settings;toolRequired:Z
-
randomTicks
private boolean randomTicks- Mappings:
Namespace Name Mixin selector official i
Lchs$c;i:Z
intermediary field_10661
Lnet/minecraft/class_4970$class_2251;field_10661:Z
named randomTicks
Lnet/minecraft/block/AbstractBlock$Settings;randomTicks:Z
-
slipperiness
private float slipperiness- Mappings:
Namespace Name Mixin selector official j
Lchs$c;j:F
intermediary field_10667
Lnet/minecraft/class_4970$class_2251;field_10667:F
named slipperiness
Lnet/minecraft/block/AbstractBlock$Settings;slipperiness:F
-
velocityMultiplier
private float velocityMultiplier- Mappings:
Namespace Name Mixin selector official k
Lchs$c;k:F
intermediary field_23179
Lnet/minecraft/class_4970$class_2251;field_23179:F
named velocityMultiplier
Lnet/minecraft/block/AbstractBlock$Settings;velocityMultiplier:F
-
jumpVelocityMultiplier
private float jumpVelocityMultiplier- Mappings:
Namespace Name Mixin selector official l
Lchs$c;l:F
intermediary field_21209
Lnet/minecraft/class_4970$class_2251;field_21209:F
named jumpVelocityMultiplier
Lnet/minecraft/block/AbstractBlock$Settings;jumpVelocityMultiplier:F
-
lootTableId
- Mappings:
Namespace Name Mixin selector official m
Lchs$c;m:Lwb;
intermediary field_10666
Lnet/minecraft/class_4970$class_2251;field_10666:Lnet/minecraft/class_2960;
named lootTableId
Lnet/minecraft/block/AbstractBlock$Settings;lootTableId:Lnet/minecraft/util/Identifier;
-
opaque
private boolean opaque- Mappings:
Namespace Name Mixin selector official n
Lchs$c;n:Z
intermediary field_20721
Lnet/minecraft/class_4970$class_2251;field_20721:Z
named opaque
Lnet/minecraft/block/AbstractBlock$Settings;opaque:Z
-
isAir
private boolean isAir- Mappings:
Namespace Name Mixin selector official o
Lchs$c;o:Z
intermediary field_23180
Lnet/minecraft/class_4970$class_2251;field_23180:Z
named isAir
Lnet/minecraft/block/AbstractBlock$Settings;isAir:Z
-
allowsSpawningPredicate
- Mappings:
Namespace Name Mixin selector official p
Lchs$c;p:Lchs$d;
intermediary field_23181
Lnet/minecraft/class_4970$class_2251;field_23181:Lnet/minecraft/class_4970$class_4972;
named allowsSpawningPredicate
Lnet/minecraft/block/AbstractBlock$Settings;allowsSpawningPredicate:Lnet/minecraft/block/AbstractBlock$TypedContextPredicate;
-
solidBlockPredicate
- Mappings:
Namespace Name Mixin selector official q
Lchs$c;q:Lchs$e;
intermediary field_23182
Lnet/minecraft/class_4970$class_2251;field_23182:Lnet/minecraft/class_4970$class_4973;
named solidBlockPredicate
Lnet/minecraft/block/AbstractBlock$Settings;solidBlockPredicate:Lnet/minecraft/block/AbstractBlock$ContextPredicate;
-
suffocationPredicate
- Mappings:
Namespace Name Mixin selector official r
Lchs$c;r:Lchs$e;
intermediary field_23183
Lnet/minecraft/class_4970$class_2251;field_23183:Lnet/minecraft/class_4970$class_4973;
named suffocationPredicate
Lnet/minecraft/block/AbstractBlock$Settings;suffocationPredicate:Lnet/minecraft/block/AbstractBlock$ContextPredicate;
-
blockVisionPredicate
- Mappings:
Namespace Name Mixin selector official s
Lchs$c;s:Lchs$e;
intermediary field_23184
Lnet/minecraft/class_4970$class_2251;field_23184:Lnet/minecraft/class_4970$class_4973;
named blockVisionPredicate
Lnet/minecraft/block/AbstractBlock$Settings;blockVisionPredicate:Lnet/minecraft/block/AbstractBlock$ContextPredicate;
-
postProcessPredicate
- Mappings:
Namespace Name Mixin selector official t
Lchs$c;t:Lchs$e;
intermediary field_23185
Lnet/minecraft/class_4970$class_2251;field_23185:Lnet/minecraft/class_4970$class_4973;
named postProcessPredicate
Lnet/minecraft/block/AbstractBlock$Settings;postProcessPredicate:Lnet/minecraft/block/AbstractBlock$ContextPredicate;
-
emissiveLightingPredicate
- Mappings:
Namespace Name Mixin selector official u
Lchs$c;u:Lchs$e;
intermediary field_23186
Lnet/minecraft/class_4970$class_2251;field_23186:Lnet/minecraft/class_4970$class_4973;
named emissiveLightingPredicate
Lnet/minecraft/block/AbstractBlock$Settings;emissiveLightingPredicate:Lnet/minecraft/block/AbstractBlock$ContextPredicate;
-
dynamicBounds
private boolean dynamicBounds- Mappings:
Namespace Name Mixin selector official v
Lchs$c;v:Z
intermediary field_10670
Lnet/minecraft/class_4970$class_2251;field_10670:Z
named dynamicBounds
Lnet/minecraft/block/AbstractBlock$Settings;dynamicBounds:Z
-
-
Constructor Details
-
Settings
- Mappings:
Namespace Name Mixin selector official <init>
Lchs$c;<init>(Ldap;Ldaq;)V
intermediary <init>
Lnet/minecraft/class_4970$class_2251;<init>(Lnet/minecraft/class_3614;Lnet/minecraft/class_3620;)V
named <init>
Lnet/minecraft/block/AbstractBlock$Settings;<init>(Lnet/minecraft/block/Material;Lnet/minecraft/block/MapColor;)V
-
Settings
- Mappings:
Namespace Name Mixin selector official <init>
Lchs$c;<init>(Ldap;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_4970$class_2251;<init>(Lnet/minecraft/class_3614;Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/block/AbstractBlock$Settings;<init>(Lnet/minecraft/block/Material;Ljava/util/function/Function;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(Ldap;)Lchs$c;
intermediary method_9637
Lnet/minecraft/class_4970$class_2251;method_9637(Lnet/minecraft/class_3614;)Lnet/minecraft/class_4970$class_2251;
named of
Lnet/minecraft/block/AbstractBlock$Settings;of(Lnet/minecraft/block/Material;)Lnet/minecraft/block/AbstractBlock$Settings;
-
of
- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(Ldap;Lbms;)Lchs$c;
intermediary method_9617
Lnet/minecraft/class_4970$class_2251;method_9617(Lnet/minecraft/class_3614;Lnet/minecraft/class_1767;)Lnet/minecraft/class_4970$class_2251;
named of
Lnet/minecraft/block/AbstractBlock$Settings;of(Lnet/minecraft/block/Material;Lnet/minecraft/util/DyeColor;)Lnet/minecraft/block/AbstractBlock$Settings;
-
of
- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(Ldap;Ldaq;)Lchs$c;
intermediary method_9639
Lnet/minecraft/class_4970$class_2251;method_9639(Lnet/minecraft/class_3614;Lnet/minecraft/class_3620;)Lnet/minecraft/class_4970$class_2251;
named of
Lnet/minecraft/block/AbstractBlock$Settings;of(Lnet/minecraft/block/Material;Lnet/minecraft/block/MapColor;)Lnet/minecraft/block/AbstractBlock$Settings;
-
of
public static AbstractBlock.Settings of(Material material, Function<BlockState,MapColor> mapColor)- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(Ldap;Ljava/util/function/Function;)Lchs$c;
intermediary method_26240
Lnet/minecraft/class_4970$class_2251;method_26240(Lnet/minecraft/class_3614;Ljava/util/function/Function;)Lnet/minecraft/class_4970$class_2251;
named of
Lnet/minecraft/block/AbstractBlock$Settings;of(Lnet/minecraft/block/Material;Ljava/util/function/Function;)Lnet/minecraft/block/AbstractBlock$Settings;
-
copy
- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(Lchs;)Lchs$c;
intermediary method_9630
Lnet/minecraft/class_4970$class_2251;method_9630(Lnet/minecraft/class_4970;)Lnet/minecraft/class_4970$class_2251;
named copy
Lnet/minecraft/block/AbstractBlock$Settings;copy(Lnet/minecraft/block/AbstractBlock;)Lnet/minecraft/block/AbstractBlock$Settings;
-
noCollision
Specifies that a block should have no collision bounds.This also marks a block as non-opaque.
- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a()Lchs$c;
intermediary method_9634
Lnet/minecraft/class_4970$class_2251;method_9634()Lnet/minecraft/class_4970$class_2251;
named noCollision
Lnet/minecraft/block/AbstractBlock$Settings;noCollision()Lnet/minecraft/block/AbstractBlock$Settings;
-
nonOpaque
Specifies that a block should be non-opaque and light should be allowed to pass through.- Mappings:
Namespace Name Mixin selector official b
Lchs$c;b()Lchs$c;
intermediary method_22488
Lnet/minecraft/class_4970$class_2251;method_22488()Lnet/minecraft/class_4970$class_2251;
named nonOpaque
Lnet/minecraft/block/AbstractBlock$Settings;nonOpaque()Lnet/minecraft/block/AbstractBlock$Settings;
-
slipperiness
- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(F)Lchs$c;
intermediary method_9628
Lnet/minecraft/class_4970$class_2251;method_9628(F)Lnet/minecraft/class_4970$class_2251;
named slipperiness
Lnet/minecraft/block/AbstractBlock$Settings;slipperiness(F)Lnet/minecraft/block/AbstractBlock$Settings;
-
velocityMultiplier
- Mappings:
Namespace Name Mixin selector official b
Lchs$c;b(F)Lchs$c;
intermediary method_23351
Lnet/minecraft/class_4970$class_2251;method_23351(F)Lnet/minecraft/class_4970$class_2251;
named velocityMultiplier
Lnet/minecraft/block/AbstractBlock$Settings;velocityMultiplier(F)Lnet/minecraft/block/AbstractBlock$Settings;
-
jumpVelocityMultiplier
- Mappings:
Namespace Name Mixin selector official c
Lchs$c;c(F)Lchs$c;
intermediary method_23352
Lnet/minecraft/class_4970$class_2251;method_23352(F)Lnet/minecraft/class_4970$class_2251;
named jumpVelocityMultiplier
Lnet/minecraft/block/AbstractBlock$Settings;jumpVelocityMultiplier(F)Lnet/minecraft/block/AbstractBlock$Settings;
-
sounds
- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(Lcdg;)Lchs$c;
intermediary method_9626
Lnet/minecraft/class_4970$class_2251;method_9626(Lnet/minecraft/class_2498;)Lnet/minecraft/class_4970$class_2251;
named sounds
Lnet/minecraft/block/AbstractBlock$Settings;sounds(Lnet/minecraft/sound/BlockSoundGroup;)Lnet/minecraft/block/AbstractBlock$Settings;
-
luminance
Specifies the light level emitted by a block.- Parameters:
luminance
- a per block state light level, with values between 0 and 15- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(Ljava/util/function/ToIntFunction;)Lchs$c;
intermediary method_9631
Lnet/minecraft/class_4970$class_2251;method_9631(Ljava/util/function/ToIntFunction;)Lnet/minecraft/class_4970$class_2251;
named luminance
Lnet/minecraft/block/AbstractBlock$Settings;luminance(Ljava/util/function/ToIntFunction;)Lnet/minecraft/block/AbstractBlock$Settings;
-
strength
- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(FF)Lchs$c;
intermediary method_9629
Lnet/minecraft/class_4970$class_2251;method_9629(FF)Lnet/minecraft/class_4970$class_2251;
named strength
Lnet/minecraft/block/AbstractBlock$Settings;strength(FF)Lnet/minecraft/block/AbstractBlock$Settings;
-
breakInstantly
Specifies that a block is broken instantly.- Mappings:
Namespace Name Mixin selector official c
Lchs$c;c()Lchs$c;
intermediary method_9618
Lnet/minecraft/class_4970$class_2251;method_9618()Lnet/minecraft/class_4970$class_2251;
named breakInstantly
Lnet/minecraft/block/AbstractBlock$Settings;breakInstantly()Lnet/minecraft/block/AbstractBlock$Settings;
-
strength
- Mappings:
Namespace Name Mixin selector official d
Lchs$c;d(F)Lchs$c;
intermediary method_9632
Lnet/minecraft/class_4970$class_2251;method_9632(F)Lnet/minecraft/class_4970$class_2251;
named strength
Lnet/minecraft/block/AbstractBlock$Settings;strength(F)Lnet/minecraft/block/AbstractBlock$Settings;
-
ticksRandomly
- Mappings:
Namespace Name Mixin selector official d
Lchs$c;d()Lchs$c;
intermediary method_9640
Lnet/minecraft/class_4970$class_2251;method_9640()Lnet/minecraft/class_4970$class_2251;
named ticksRandomly
Lnet/minecraft/block/AbstractBlock$Settings;ticksRandomly()Lnet/minecraft/block/AbstractBlock$Settings;
-
dynamicBounds
Specifies that a block's collision bounds can dynamically resize. By default, block collision bounds are cached for performance. By invoking this method, the game will not cache the block collision bounds and instead calculate the collision bounds when needed.- Mappings:
Namespace Name Mixin selector official e
Lchs$c;e()Lchs$c;
intermediary method_9624
Lnet/minecraft/class_4970$class_2251;method_9624()Lnet/minecraft/class_4970$class_2251;
named dynamicBounds
Lnet/minecraft/block/AbstractBlock$Settings;dynamicBounds()Lnet/minecraft/block/AbstractBlock$Settings;
-
dropsNothing
Specifies that a block drops nothing when broken.- Mappings:
Namespace Name Mixin selector official f
Lchs$c;f()Lchs$c;
intermediary method_16229
Lnet/minecraft/class_4970$class_2251;method_16229()Lnet/minecraft/class_4970$class_2251;
named dropsNothing
Lnet/minecraft/block/AbstractBlock$Settings;dropsNothing()Lnet/minecraft/block/AbstractBlock$Settings;
-
dropsLike
Specifies that a block should drop the same items as a provided block.- Parameters:
source
- the block to copy item drops from- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(Lbwu;)Lchs$c;
intermediary method_16228
Lnet/minecraft/class_4970$class_2251;method_16228(Lnet/minecraft/class_2248;)Lnet/minecraft/class_4970$class_2251;
named dropsLike
Lnet/minecraft/block/AbstractBlock$Settings;dropsLike(Lnet/minecraft/block/Block;)Lnet/minecraft/block/AbstractBlock$Settings;
-
air
- Mappings:
Namespace Name Mixin selector official g
Lchs$c;g()Lchs$c;
intermediary method_26250
Lnet/minecraft/class_4970$class_2251;method_26250()Lnet/minecraft/class_4970$class_2251;
named air
Lnet/minecraft/block/AbstractBlock$Settings;air()Lnet/minecraft/block/AbstractBlock$Settings;
-
allowsSpawning
public AbstractBlock.Settings allowsSpawning(AbstractBlock.TypedContextPredicate<EntityType<?>> predicate)Specifies logic that calculates whether an entity can spawn on a block.- Parameters:
predicate
- the predicate used to calculate whether an entity can spawn on this block- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(Lchs$d;)Lchs$c;
intermediary method_26235
Lnet/minecraft/class_4970$class_2251;method_26235(Lnet/minecraft/class_4970$class_4972;)Lnet/minecraft/class_4970$class_2251;
named allowsSpawning
Lnet/minecraft/block/AbstractBlock$Settings;allowsSpawning(Lnet/minecraft/block/AbstractBlock$TypedContextPredicate;)Lnet/minecraft/block/AbstractBlock$Settings;
-
solidBlock
- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(Lchs$e;)Lchs$c;
intermediary method_26236
Lnet/minecraft/class_4970$class_2251;method_26236(Lnet/minecraft/class_4970$class_4973;)Lnet/minecraft/class_4970$class_2251;
named solidBlock
Lnet/minecraft/block/AbstractBlock$Settings;solidBlock(Lnet/minecraft/block/AbstractBlock$ContextPredicate;)Lnet/minecraft/block/AbstractBlock$Settings;
-
suffocates
Specifies logic that calculates whether an entity should suffocate if inside of a block.- Mappings:
Namespace Name Mixin selector official b
Lchs$c;b(Lchs$e;)Lchs$c;
intermediary method_26243
Lnet/minecraft/class_4970$class_2251;method_26243(Lnet/minecraft/class_4970$class_4973;)Lnet/minecraft/class_4970$class_2251;
named suffocates
Lnet/minecraft/block/AbstractBlock$Settings;suffocates(Lnet/minecraft/block/AbstractBlock$ContextPredicate;)Lnet/minecraft/block/AbstractBlock$Settings;
-
blockVision
- Mappings:
Namespace Name Mixin selector official c
Lchs$c;c(Lchs$e;)Lchs$c;
intermediary method_26245
Lnet/minecraft/class_4970$class_2251;method_26245(Lnet/minecraft/class_4970$class_4973;)Lnet/minecraft/class_4970$class_2251;
named blockVision
Lnet/minecraft/block/AbstractBlock$Settings;blockVision(Lnet/minecraft/block/AbstractBlock$ContextPredicate;)Lnet/minecraft/block/AbstractBlock$Settings;
-
postProcess
- Mappings:
Namespace Name Mixin selector official d
Lchs$c;d(Lchs$e;)Lchs$c;
intermediary method_26247
Lnet/minecraft/class_4970$class_2251;method_26247(Lnet/minecraft/class_4970$class_4973;)Lnet/minecraft/class_4970$class_2251;
named postProcess
Lnet/minecraft/block/AbstractBlock$Settings;postProcess(Lnet/minecraft/block/AbstractBlock$ContextPredicate;)Lnet/minecraft/block/AbstractBlock$Settings;
-
emissiveLighting
- Mappings:
Namespace Name Mixin selector official e
Lchs$c;e(Lchs$e;)Lchs$c;
intermediary method_26249
Lnet/minecraft/class_4970$class_2251;method_26249(Lnet/minecraft/class_4970$class_4973;)Lnet/minecraft/class_4970$class_2251;
named emissiveLighting
Lnet/minecraft/block/AbstractBlock$Settings;emissiveLighting(Lnet/minecraft/block/AbstractBlock$ContextPredicate;)Lnet/minecraft/block/AbstractBlock$Settings;
-
requiresTool
- Mappings:
Namespace Name Mixin selector official h
Lchs$c;h()Lchs$c;
intermediary method_29292
Lnet/minecraft/class_4970$class_2251;method_29292()Lnet/minecraft/class_4970$class_2251;
named requiresTool
Lnet/minecraft/block/AbstractBlock$Settings;requiresTool()Lnet/minecraft/block/AbstractBlock$Settings;
-
mapColor
- Mappings:
Namespace Name Mixin selector official a
Lchs$c;a(Ldaq;)Lchs$c;
intermediary method_31710
Lnet/minecraft/class_4970$class_2251;method_31710(Lnet/minecraft/class_3620;)Lnet/minecraft/class_4970$class_2251;
named mapColor
Lnet/minecraft/block/AbstractBlock$Settings;mapColor(Lnet/minecraft/block/MapColor;)Lnet/minecraft/block/AbstractBlock$Settings;
-