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
(package private) float
(package private) ResourceLocation
(package private) boolean
(package private) BlockBehaviour.StatePredicate
(package private) float
(package private) float
(package private) boolean
(package private) BlockBehaviour.StatePredicate
(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>
private Supplier<ResourceLocation>
(package private) Material
(package private) Function<BlockState,
MaterialColor> (package private) boolean
(package private) SoundType
(package private) float
-
Constructor Summary
ModifierConstructorDescriptionprivate
Properties
(Material p_60908_, Function<BlockState, MaterialColor> p_60909_) private
Properties
(Material p_60905_, MaterialColor p_60906_) -
Method Summary
Modifier and TypeMethodDescriptionair()
color
(MaterialColor p_155950_) static BlockBehaviour.Properties
copy
(BlockBehaviour p_60927_) destroyTime
(float p_155955_) Deprecated.explosionResistance
(float p_155957_) friction
(float p_60912_) hasPostProcess
(BlockBehaviour.StatePredicate p_60983_) 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_) noDrops()
static BlockBehaviour.Properties
static BlockBehaviour.Properties
of
(Material p_60948_, Function<BlockState, MaterialColor> p_60949_) static BlockBehaviour.Properties
static BlockBehaviour.Properties
of
(Material p_60945_, MaterialColor p_60946_) speedFactor
(float p_60957_) strength
(float p_60979_) strength
(float p_60914_, float p_60915_)
-
Field Details
-
material
Material material -
materialColor
Function<BlockState,MaterialColor> materialColor -
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 -
lootTableSupplier
-
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
-
-
Constructor Details
-
Properties
-
Properties
-
-
Method Details
-
of
-
of
-
of
-
of
public static BlockBehaviour.Properties of(Material p_60948_, Function<BlockState, MaterialColor> p_60949_) -
copy
-
noCollission
-
noOcclusion
-
friction
-
speedFactor
-
jumpFactor
-
sound
-
lightLevel
-
strength
-
instabreak
-
strength
-
randomTicks
-
dynamicShape
-
noDrops
-
dropsLike
Deprecated. -
lootFrom
-
air
-
isValidSpawn
public BlockBehaviour.Properties isValidSpawn(BlockBehaviour.StateArgumentPredicate<EntityType<?>> p_60923_) -
isRedstoneConductor
-
isSuffocating
-
isViewBlocking
-
hasPostProcess
-
emissiveRendering
-
requiresCorrectToolForDrops
-
color
-
destroyTime
-
explosionResistance
-