Class BlockBehaviour.Properties
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour.Properties
- Enclosing class:
BlockBehaviour
-
Field Summary
Modifier and TypeFieldDescription(package private) boolean
static final com.mojang.serialization.Codec<BlockBehaviour.Properties>
(package private) float
(package private) ResourceLocation
(package private) boolean
(package private) BlockBehaviour.StatePredicate
(package private) float
(package private) boolean
Deprecated.(package private) boolean
(package private) float
(package private) boolean
(package private) BlockBehaviour.StatePredicate
(package private) boolean
(package private) NoteBlockInstrument
(package private) boolean
(package private) boolean
(package private) BlockBehaviour.StatePredicate
(package private) BlockBehaviour.StatePredicate
(package private) BlockBehaviour.StateArgumentPredicate<EntityType<?>>
(package private) BlockBehaviour.StatePredicate
(package private) float
(package private) ToIntFunction<BlockState>
(package private) boolean
Deprecated.private Supplier<ResourceLocation>
(package private) Function<BlockState,
MapColor> (package private) Optional<BlockBehaviour.OffsetFunction>
(package private) PushReaction
(package private) boolean
(package private) FeatureFlagSet
(package private) boolean
(package private) SoundType
(package private) boolean
(package private) float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionair()
destroyTime
(float p_155955_) Deprecated.explosionResistance
(float p_155957_) Deprecated.friction
(float p_60912_) hasPostProcess
(BlockBehaviour.StatePredicate p_60983_) instrument
(NoteBlockInstrument p_282170_) isSuffocating
(BlockBehaviour.StatePredicate p_60961_) isValidSpawn
(BlockBehaviour.StateArgumentPredicate<EntityType<?>> p_60923_) isViewBlocking
(BlockBehaviour.StatePredicate p_60972_) jumpFactor
(float p_60968_) lightLevel
(ToIntFunction<BlockState> p_60954_) liquid()
mapColor
(Function<BlockState, MapColor> p_285406_) static BlockBehaviour.Properties
of()
offsetType
(BlockBehaviour.OffsetType p_222980_) static BlockBehaviour.Properties
ofFullCopy
(BlockBehaviour p_312473_) static BlockBehaviour.Properties
ofLegacyCopy
(BlockBehaviour p_312385_) Deprecated.pushReaction
(PushReaction p_278265_) requiredFeatures
(FeatureFlag... p_248792_) speedFactor
(float p_60957_) strength
(float p_60979_) strength
(float p_60914_, float p_60915_)
-
Field Details
-
CODEC
-
mapColor
Function<BlockState,MapColor> mapColor -
hasCollision
boolean hasCollision -
soundType
SoundType soundType -
lightEmission
ToIntFunction<BlockState> lightEmission -
explosionResistance
float explosionResistance -
destroyTime
float destroyTime -
requiresCorrectToolForDrops
boolean requiresCorrectToolForDrops -
isRandomlyTicking
boolean isRandomlyTicking -
friction
float friction -
speedFactor
float speedFactor -
jumpFactor
float jumpFactor -
drops
ResourceLocation drops -
canOcclude
boolean canOcclude -
isAir
boolean isAir -
ignitedByLava
boolean ignitedByLava -
liquid
Deprecated. -
forceSolidOff
Deprecated. -
forceSolidOn
boolean forceSolidOn -
pushReaction
PushReaction pushReaction -
spawnTerrainParticles
boolean spawnTerrainParticles -
instrument
NoteBlockInstrument instrument -
lootTableSupplier
-
replaceable
boolean replaceable -
isValidSpawn
BlockBehaviour.StateArgumentPredicate<EntityType<?>> isValidSpawn -
isRedstoneConductor
BlockBehaviour.StatePredicate isRedstoneConductor -
isSuffocating
BlockBehaviour.StatePredicate isSuffocating -
isViewBlocking
BlockBehaviour.StatePredicate isViewBlocking -
hasPostProcess
BlockBehaviour.StatePredicate hasPostProcess -
emissiveRendering
BlockBehaviour.StatePredicate emissiveRendering -
dynamicShape
boolean dynamicShape -
requiredFeatures
FeatureFlagSet requiredFeatures -
offsetFunction
Optional<BlockBehaviour.OffsetFunction> offsetFunction
-
-
Constructor Details
-
Properties
private Properties()
-
-
Method Details
-
of
-
ofFullCopy
-
ofLegacyCopy
Deprecated. -
mapColor
-
mapColor
-
mapColor
-
noCollission
-
noOcclusion
-
friction
-
speedFactor
-
jumpFactor
-
sound
-
lightLevel
-
strength
-
instabreak
-
strength
-
randomTicks
-
dynamicShape
-
noLootTable
-
dropsLike
Deprecated. -
lootFrom
-
ignitedByLava
-
liquid
-
forceSolidOn
-
forceSolidOff
Deprecated. -
pushReaction
-
air
-
isValidSpawn
public BlockBehaviour.Properties isValidSpawn(BlockBehaviour.StateArgumentPredicate<EntityType<?>> p_60923_) -
isRedstoneConductor
-
isSuffocating
-
isViewBlocking
-
hasPostProcess
-
emissiveRendering
-
requiresCorrectToolForDrops
-
destroyTime
-
explosionResistance
-
offsetType
-
noTerrainParticles
-
requiredFeatures
-
instrument
-
replaceable
-