Uses of Class
dev.wyck.wrapper.environment.BedRule.Builder
Packages that use BedRule.Builder
-
Uses of BedRule.Builder in dev.wyck.wrapper.environment
Methods in dev.wyck.wrapper.environment that return BedRule.BuilderModifier and TypeMethodDescriptionstatic BedRule.BuilderBedRule.builder()Creates a new builder for bed rules.BedRule.Builder.setCanSetSpawn(BedRule.Rule canSetSpawn) Sets the rule for setting the spawn point using the bed.BedRule.Builder.setCanSleep(BedRule.Rule canSleep) Sets the rule for sleeping in the bed.BedRule.Builder.setErrorMessage(@Nullable Component errorMessage) Sets the error message displayed when a player tries to use the bed inappropriately.BedRule.Builder.setExplodes(boolean explodes) Sets whether the bed explodes when used in this environment.default BedRule.BuilderBedRule.toBuilder()Converts this BedRule to a builder.