Uses of Enum Class
net.minecraft.world.attribute.BedRule.Rule
Packages that use BedRule.Rule
-
Uses of BedRule.Rule in net.minecraft.world.attribute
Fields in net.minecraft.world.attribute declared as BedRule.RuleModifier and TypeFieldDescriptionprivate final BedRule.RuleBedRule.canSetSpawnThe field for thecanSetSpawnrecord component.private final BedRule.RuleBedRule.canSleepThe field for thecanSleeprecord component.Fields in net.minecraft.world.attribute with type parameters of type BedRule.RuleModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BedRule.Rule> BedRule.Rule.CODECMethods in net.minecraft.world.attribute that return BedRule.RuleModifier and TypeMethodDescriptionBedRule.canSetSpawn()Returns the value of thecanSetSpawnrecord component.BedRule.canSleep()Returns the value of thecanSleeprecord component.static BedRule.RuleReturns the enum constant of this class with the specified name.static BedRule.Rule[]BedRule.Rule.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.RuleModifierConstructorDescriptionBedRule(BedRule.Rule canSleep, BedRule.Rule canSetSpawn, boolean explodes, Optional<Component> errorMessage) Creates an instance of aBedRulerecord class.