Uses of Enum Class
net.minecraft.world.attribute.BedRule.Condition
Packages that use BedRule.Condition
-
Uses of BedRule.Condition in net.minecraft.world.attribute
Fields in net.minecraft.world.attribute declared as BedRule.ConditionModifier and TypeFieldDescriptionprivate final BedRule.ConditionBedRule.canSetSpawnThe field for thecanSetSpawnrecord component.private final BedRule.ConditionBedRule.canSleepThe field for thecanSleeprecord component.Fields in net.minecraft.world.attribute with type parameters of type BedRule.ConditionModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BedRule.Condition> BedRule.Condition.CODECMethods in net.minecraft.world.attribute that return BedRule.ConditionModifier and TypeMethodDescriptionBedRule.canSetSpawn()Returns the value of thecanSetSpawnrecord component.BedRule.canSleep()Returns the value of thecanSleeprecord component.static BedRule.ConditionReturns the enum constant of this class with the specified name.static BedRule.Condition[]BedRule.Condition.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in net.minecraft.world.attribute with parameters of type BedRule.ConditionModifierConstructorDescriptionBedRule(BedRule.Condition canSleep, BedRule.Condition canSetSpawn, boolean explodes, Optional<Text> errorMessage) Creates an instance of aBedRulerecord class.