类 BlockBehaviour.Properties
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour.Properties
- 封闭类:
- BlockBehaviour
-
字段概要
字段修饰符和类型字段说明(专用程序包) boolean
(专用程序包) float
(专用程序包) ResourceLocation
(专用程序包) boolean
(专用程序包) BlockBehaviour.StatePredicate
(专用程序包) float
(专用程序包) boolean
已过时。(专用程序包) boolean
(专用程序包) float
(专用程序包) boolean
(专用程序包) BlockBehaviour.StatePredicate
(专用程序包) boolean
(专用程序包) NoteBlockInstrument
(专用程序包) boolean
(专用程序包) boolean
(专用程序包) BlockBehaviour.StatePredicate
(专用程序包) BlockBehaviour.StatePredicate
(专用程序包) BlockBehaviour.StateArgumentPredicate<EntityType<?>>
(专用程序包) BlockBehaviour.StatePredicate
(专用程序包) float
(专用程序包) ToIntFunction<BlockState>
(专用程序包) boolean
已过时。private Supplier<ResourceLocation>
(专用程序包) Function<BlockState,
MapColor> (专用程序包) Optional<BlockBehaviour.OffsetFunction>
(专用程序包) PushReaction
(专用程序包) boolean
(专用程序包) FeatureFlagSet
(专用程序包) boolean
(专用程序包) SoundType
(专用程序包) boolean
(专用程序包) float
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明air()
static BlockBehaviour.Properties
copy
(BlockBehaviour pBlockBehaviour) destroyTime
(float pDestroyTime) 已过时。emissiveRendering
(BlockBehaviour.StatePredicate pEmissiveRendering) explosionResistance
(float pExplosionResistance) 已过时。friction
(float pFriction) hasPostProcess
(BlockBehaviour.StatePredicate pHasPostProcess) instrument
(NoteBlockInstrument pInstrument) isRedstoneConductor
(BlockBehaviour.StatePredicate pIsRedstoneConductor) isSuffocating
(BlockBehaviour.StatePredicate pIsSuffocating) isValidSpawn
(BlockBehaviour.StateArgumentPredicate<EntityType<?>> pIsValidSpawn) isViewBlocking
(BlockBehaviour.StatePredicate pIsViewBlocking) jumpFactor
(float pJumpFactor) lightLevel
(ToIntFunction<BlockState> pLightEmission) liquid()
mapColor
(Function<BlockState, MapColor> pMapColor) static BlockBehaviour.Properties
of()
offsetType
(BlockBehaviour.OffsetType pOffsetType) pushReaction
(PushReaction pPushReaction) requiredFeatures
(FeatureFlag... pRequiredFeatures) speedFactor
(float pSpeedFactor) strength
(float pStrength) strength
(float pDestroyTime, float pExplosionResistance)
-
字段详细资料
-
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
已过时。 -
forceSolidOff
已过时。 -
forceSolidOn
boolean forceSolidOn -
pushReaction
PushReaction pushReaction -
spawnParticlesOnBreak
boolean spawnParticlesOnBreak -
instrument
NoteBlockInstrument instrument -
replaceable
boolean replaceable -
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 -
requiredFeatures
FeatureFlagSet requiredFeatures -
offsetFunction
Optional<BlockBehaviour.OffsetFunction> offsetFunction
-
-
构造器详细资料
-
Properties
private Properties()
-
-
方法详细资料
-
of
-
copy
-
mapColor
-
mapColor
-
mapColor
-
noCollission
-
noOcclusion
-
friction
-
speedFactor
-
jumpFactor
-
sound
-
lightLevel
-
strength
-
instabreak
-
strength
-
randomTicks
-
dynamicShape
-
noLootTable
-
dropsLike
已过时。 -
lootFrom
-
ignitedByLava
-
liquid
-
forceSolidOn
-
forceSolidOff
已过时。 -
pushReaction
-
air
-
isValidSpawn
public BlockBehaviour.Properties isValidSpawn(BlockBehaviour.StateArgumentPredicate<EntityType<?>> pIsValidSpawn) -
isRedstoneConductor
public BlockBehaviour.Properties isRedstoneConductor(BlockBehaviour.StatePredicate pIsRedstoneConductor) -
isSuffocating
-
isViewBlocking
-
hasPostProcess
-
emissiveRendering
public BlockBehaviour.Properties emissiveRendering(BlockBehaviour.StatePredicate pEmissiveRendering) -
requiresCorrectToolForDrops
-
destroyTime
-
explosionResistance
-
offsetType
-
noParticlesOnBreak
-
requiredFeatures
-
instrument
-
replaceable
-