Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Difficulty ¶
type Difficulty interface {
// contains filtered or unexported methods
}
Difficulty represents the difficulty of a Minecraft world. The difficulty of a world influences all kinds of aspects of the world, such as the damage enemies deal to players, the way hunger depletes, whether hostile monsters spawn or not and more.
type Easy ¶
type Easy struct{}
Easy difficulty has mobs deal less damage to players than normal and starvation won't occur if a player has less than 5 hearts of health.
type Hard ¶
type Hard struct{}
Hard difficulty has mobs that deal above average damage to players. Starvation will kill players with too little food and monsters will get additional effects.
Click to show internal directories.
Click to hide internal directories.