| net.minecraft.world.attribute.BedRule | |
| net.minecraft.class_12195 | |
| net.minecraft.world.attribute.BedRule |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final BedRule$Condition |
|
||||||
| private final BedRule$Condition |
|
||||||
| private final boolean |
|
||||||
| private final Optional<Text> |
|
||||||
| public static final BedRule |
|
||||||
| public static final BedRule |
|
||||||
| public static final com.mojang.serialization.Codec<BedRule> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (BedRule$Condition canSleep, BedRule$Condition canSetSpawn, boolean explodes, Optional<Text> errorMessage) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public boolean |
|
||||||
| public boolean |
|
||||||
| public PlayerEntity$SleepFailureReason |
|
||||||
| public BedRule$Condition |
|
||||||
| public BedRule$Condition |
|
||||||
| public boolean |
|
||||||
| public Optional<Text> |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|