net.minecraft.world.level.block.state

public class BlockBehaviour$Properties

dxu$d
net.minecraft.world.level.block.state.BlockBehaviour$Properties
net.minecraft.class_4970$class_2251
net.minecraft.block.AbstractBlock$Settings
net.minecraft.world.level.block.state.BlockBase$Info

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<BlockBehaviour$Properties>
a
CODEC
field_46532
CODEC
Function<BlockState, MapColor>
b
mapColor
field_10662
mapColorProvider
boolean
c
hasCollision
field_10664
collidable
SoundType
d
soundType
field_10665
soundGroup
ToIntFunction<BlockState>
e
lightEmission
field_10663
luminance
float
f
explosionResistance
field_10660
resistance
float
g
destroyTime
field_10669
hardness
boolean
h
requiresCorrectToolForDrops
field_25185
toolRequired
boolean
i
isRandomlyTicking
field_10661
randomTicks
float
j
friction
field_10667
slipperiness
float
k
speedFactor
field_23179
velocityMultiplier
float
l
jumpFactor
field_21209
jumpVelocityMultiplier
private ResourceKey<Block>
m
id
field_54006
registryKey
private DependantName<Block, Optional<ResourceKey<LootTable>>>
n
drops
field_54007
lootTable
private DependantName<Block, String>
o
descriptionId
field_54008
translationKey
boolean
p
canOcclude
field_20721
opaque
boolean
q
isAir
field_23180
isAir
boolean
r
ignitedByLava
field_43394
burnable
boolean
s
liquid
field_44481
liquid
boolean
t
forceSolidOff
field_44627
forceNotSolid
boolean
u
forceSolidOn
field_44628
forceSolid
PushReaction
v
pushReaction
field_43395
pistonBehavior
boolean
w
spawnTerrainParticles
field_40341
blockBreakParticles
NoteBlockInstrument
x
instrument
field_44629
instrument
boolean
y
replaceable
field_44630
replaceable
BlockBehaviour$StateArgumentPredicate<EntityType<?>>
z
isValidSpawn
field_23181
allowsSpawningPredicate
BlockBehaviour$StatePredicate
A
isRedstoneConductor
field_23182
solidBlockPredicate
BlockBehaviour$StatePredicate
B
isSuffocating
field_23183
suffocationPredicate
BlockBehaviour$StatePredicate
C
isViewBlocking
field_23184
blockVisionPredicate
BlockBehaviour$StatePredicate
D
hasPostProcess
field_23185
postProcessPredicate
BlockBehaviour$StatePredicate
E
emissiveRendering
field_23186
emissiveLightingPredicate
boolean
F
dynamicShape
field_10670
dynamicBounds
FeatureFlagSet
G
requiredFeatures
field_40342
requiredFeatures
BlockBehaviour$OffsetFunction
H
offsetFunction
field_42818
offsetter

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static BlockBehaviour$Properties
a()
of()
method_9637()
create()
public static BlockBehaviour$Properties
a(dxu arg0)
ofFullCopy(BlockBehaviour arg0)
method_9630(class_4970 arg0)
copy(AbstractBlock block)
public static BlockBehaviour$Properties
b(dxu arg0)
ofLegacyCopy(BlockBehaviour arg0)
method_55226(class_4970 arg0)
copyShallow(AbstractBlock block)
public BlockBehaviour$Properties
a(cwm arg0)
mapColor(DyeColor arg0)
method_51517(class_1767 arg0)
mapColor(DyeColor color)
public BlockBehaviour$Properties
a(eub arg0)
mapColor(MapColor arg0)
method_31710(class_3620 arg0)
mapColor(MapColor color)
public BlockBehaviour$Properties
a(Function<dxv, eub> arg0)
mapColor(Function<BlockState, MapColor> arg0)
method_51520(Function<class_2680, class_3620> arg0)
mapColor(Function<BlockState, MapColor> mapColorProvider)
public BlockBehaviour$Properties
b()
noCollission()
method_9634()
noCollision()
public BlockBehaviour$Properties
c()
noOcclusion()
method_22488()
nonOpaque()
public BlockBehaviour$Properties
a(float arg0)
friction(float arg0)
method_9628(float arg0)
slipperiness(float slipperiness)
public BlockBehaviour$Properties
b(float arg0)
speedFactor(float arg0)
method_23351(float arg0)
velocityMultiplier(float velocityMultiplier)
public BlockBehaviour$Properties
c(float arg0)
jumpFactor(float arg0)
method_23352(float arg0)
jumpVelocityMultiplier(float jumpVelocityMultiplier)
public BlockBehaviour$Properties
a(dsc arg0)
sound(SoundType arg0)
method_9626(class_2498 arg0)
sounds(BlockSoundGroup soundGroup)
public BlockBehaviour$Properties
a(ToIntFunction<dxv> arg0)
lightLevel(ToIntFunction<BlockState> arg0)
method_9631(ToIntFunction<class_2680> arg0)
luminance(ToIntFunction<BlockState> luminance)
public BlockBehaviour$Properties
a(float arg0, float arg1)
strength(float arg0, float arg1)
method_9629(float arg0, float arg1)
strength(float hardness, float resistance)
public BlockBehaviour$Properties
d()
instabreak()
method_9618()
breakInstantly()
public BlockBehaviour$Properties
d(float arg0)
strength(float arg0)
method_9632(float arg0)
strength(float strength)
public BlockBehaviour$Properties
e()
randomTicks()
method_9640()
ticksRandomly()
public BlockBehaviour$Properties
f()
dynamicShape()
method_9624()
dynamicBounds()
public BlockBehaviour$Properties
g()
noLootTable()
method_42327()
dropsNothing()
public BlockBehaviour$Properties
a(Optional<aly<ewu>> arg0)
overrideLootTable(Optional<ResourceKey<LootTable>> arg0)
method_63502(Optional<class_5321<class_52>> arg0)
lootTable(Optional<RegistryKey<LootTable>> lootTableKey)
protected Optional<ResourceKey<LootTable>>
h()
effectiveDrops()
method_63505()
getLootTableKey()
public BlockBehaviour$Properties
i()
ignitedByLava()
method_50013()
burnable()
public BlockBehaviour$Properties
j()
liquid()
method_51177()
liquid()
public BlockBehaviour$Properties
k()
forceSolidOn()
method_51369()
solid()
public BlockBehaviour$Properties
l()
forceSolidOff()
method_51370()
notSolid()
public BlockBehaviour$Properties
a(euc arg0)
pushReaction(PushReaction arg0)
method_50012(class_3619 arg0)
pistonBehavior(PistonBehavior pistonBehavior)
public BlockBehaviour$Properties
m()
air()
method_26250()
air()
public BlockBehaviour$Properties
a(dxu$e<bvr<?>> arg0)
isValidSpawn(BlockBehaviour$StateArgumentPredicate<EntityType<?>> arg0)
method_26235(class_4970$class_4972<class_1299<?>> arg0)
allowsSpawning(AbstractBlock$TypedContextPredicate<EntityType<?>> predicate)
public BlockBehaviour$Properties
a(dxu$f arg0)
isRedstoneConductor(BlockBehaviour$StatePredicate arg0)
method_26236(class_4970$class_4973 arg0)
solidBlock(AbstractBlock$ContextPredicate predicate)
public BlockBehaviour$Properties
b(dxu$f arg0)
isSuffocating(BlockBehaviour$StatePredicate arg0)
method_26243(class_4970$class_4973 arg0)
suffocates(AbstractBlock$ContextPredicate predicate)
public BlockBehaviour$Properties
c(dxu$f arg0)
isViewBlocking(BlockBehaviour$StatePredicate arg0)
method_26245(class_4970$class_4973 arg0)
blockVision(AbstractBlock$ContextPredicate predicate)
public BlockBehaviour$Properties
d(dxu$f arg0)
hasPostProcess(BlockBehaviour$StatePredicate arg0)
method_26247(class_4970$class_4973 arg0)
postProcess(AbstractBlock$ContextPredicate predicate)
public BlockBehaviour$Properties
e(dxu$f arg0)
emissiveRendering(BlockBehaviour$StatePredicate arg0)
method_26249(class_4970$class_4973 arg0)
emissiveLighting(AbstractBlock$ContextPredicate predicate)
public BlockBehaviour$Properties
n()
requiresCorrectToolForDrops()
method_29292()
requiresTool()
public BlockBehaviour$Properties
e(float arg0)
destroyTime(float arg0)
method_36557(float arg0)
hardness(float hardness)
public BlockBehaviour$Properties
f(float arg0)
explosionResistance(float arg0)
method_36558(float arg0)
resistance(float resistance)
public BlockBehaviour$Properties
a(dxu$c arg0)
offsetType(BlockBehaviour$OffsetType arg0)
method_49229(class_4970$class_2250 arg0)
offset(AbstractBlock$OffsetType offsetType)
public BlockBehaviour$Properties
o()
noTerrainParticles()
method_45477()
noBlockBreakParticles()
public BlockBehaviour$Properties
a(csr... arg0)
requiredFeatures(FeatureFlag... arg0)
method_45476(class_7696... arg0)
requires(FeatureFlag... features)
public BlockBehaviour$Properties
a(dyv arg0)
instrument(NoteBlockInstrument arg0)
method_51368(class_2766 arg0)
instrument(NoteBlockInstrument instrument)
public BlockBehaviour$Properties
p()
replaceable()
method_51371()
replaceable()
public BlockBehaviour$Properties
a(aly<dkm> arg0)
setId(ResourceKey<Block> arg0)
method_63500(class_5321<class_2248> arg0)
registryKey(RegistryKey<Block> registryKey)
public BlockBehaviour$Properties
a(String arg0)
overrideDescription(String arg0)
method_63501(String arg0)
overrideTranslationKey(String translationKey)
protected String
q()
effectiveDescriptionId()
method_63506()
getTranslationKey()