Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ private void setMaxHealth(EntityLivingBase entity, float maxHealth) {
attribute.removeModifier(modifier_id);
double toAdd = maxHealth - attribute.getAttributeValue();
// Note: the last argument being 0 means that this is an addition modifier.
// See https://minecraft.gamepedia.com/Attribute#Modifiers
// See https://minecraft.wiki/w/Attribute#Modifiers
attribute.applyModifier(new AttributeModifier(modifier_id, "Set Max Health", toAdd, 0));
}

Expand Down
2 changes: 1 addition & 1 deletion minedojo/sim/Malmo/Schemas/MissionHandlers.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@

If left blank, the world will be a normal survival world.

Biome ID #'s can be found here: https://minecraft.gamepedia.com/Biome#Biome_IDs
Biome ID #'s can be found here: https://minecraft.wiki/w/Biome#Biome_IDs
</xs:documentation>
</xs:annotation>
</xs:attribute>
Expand Down
6 changes: 3 additions & 3 deletions minedojo/sim/handlers/agent/observations/lifestats.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def from_hero(self, hero_dict, dtype=None):
class _FoodObservation(LifeStatsObservation):
"""
Handles food_level observation representing the player's current hunger level, shown on the hunger bar. Its initial
value on world creation is 20 (full bar) - https://minecraft.gamepedia.com/Hunger#Mechanics
value on world creation is 20 (full bar) - https://minecraft.wiki/w/Hunger#Mechanics
"""

def __init__(self):
Expand All @@ -118,7 +118,7 @@ class _SaturationObservation(LifeStatsObservation):
"""
Returns the food saturation observation which determines how fast the hunger level depletes and is controlled by the
kinds of food the player has eaten. Its maximum value always equals foodLevel's value and decreases with the hunger
level. Its initial value on world creation is 5. - https://minecraft.gamepedia.com/Hunger#Mechanics
level. Its initial value on world creation is 5. - https://minecraft.wiki/w/Hunger#Mechanics
"""

def __init__(self):
Expand All @@ -140,7 +140,7 @@ def from_hero(self, hero_dict, dtype=None):
class _XPObservation(LifeStatsObservation):
"""
Handles observation of experience points 1395 experience corresponds with level 30
- see https://minecraft.gamepedia.com/Experience for more details
- see https://minecraft.wiki/w/Experience for more details
"""

def __init__(self):
Expand Down
2 changes: 1 addition & 1 deletion minedojo/sim/handlers/server/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DefaultWorldGenerator(Handler):

Args:
force_reset (bool, optional): If the world should be reset every episode.. Defaults to True.
world_seed: https://minecraft.fandom.com/wiki/Seed_(level_generation)
world_seed: https://minecraft.wiki/w/Seed_(level_generation)

Example usage:

Expand Down
2 changes: 1 addition & 1 deletion minedojo/sim/mc_meta/mc.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ def strip_item_prefix(minecraft_name):
return minecraft_name


# Transcribed from: https://minecraft.gamepedia.com/index.php?title=Biome&oldid=1057817,
# Transcribed from: https://minecraft.wiki/w/index.php?title=Biome&oldid=1057817,
# which has the biomes as they were during the minecraft version at the time: 1.11.2
# _m indicates that the terrain is more mountainous
# _f indicates that the terrain has trees where the base biome does not.
Expand Down
4 changes: 2 additions & 2 deletions minedojo/sim/sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class MineDojoSim(gym.Env):

start_time: If not ``None``, specifies the time when the agent spawns.
If supplied, should be an int between 0 and 24000.
See `here <https://minecraft.fandom.com/wiki/Daylight_cycle>`_ for more information.
See `here <https://minecraft.wiki/w/Daylight_cycle>`_ for more information.
Default: ``None``.

use_depth: If ``True``, includes depth map in observations.
Expand All @@ -114,7 +114,7 @@ class MineDojoSim(gym.Env):

world_seed: Seed for deterministic world generation
if ``generate_world_type`` is ``"default"`` or ``"specified_biome"``.
See `here <https://minecraft.fandom.com/wiki/Seed_(level_generation)>`_ for more details.
See `here <https://minecraft.wiki/w/Seed_(level_generation)>`_ for more details.
Default: ``None``.
"""

Expand Down
2 changes: 1 addition & 1 deletion minedojo/tasks/meta/combat.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class CombatMeta(ExtraSpawnMetaTaskBase):

world_seed: Seed for deterministic world generation
if ``generate_world_type`` is ``"default"`` or ``"specified_biome"``.
See `here <https://minecraft.fandom.com/wiki/Seed_(level_generation)>`_ for more details.
See `here <https://minecraft.wiki/w/Seed_(level_generation)>`_ for more details.
Default: ``None``.
"""

Expand Down
2 changes: 1 addition & 1 deletion minedojo/tasks/meta/creative/creative.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class CreativeMeta(MetaTaskBase):

world_seed: Seed for deterministic world generation
if ``generate_world_type`` is ``"default"`` or ``"specified_biome"``.
See `here <https://minecraft.fandom.com/wiki/Seed_(level_generation)>`_ for more details.
See `here <https://minecraft.wiki/w/Seed_(level_generation)>`_ for more details.
Default: ``None``.
"""

Expand Down
2 changes: 1 addition & 1 deletion minedojo/tasks/meta/harvest.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class HarvestMeta(ExtraSpawnMetaTaskBase):
Default: ``None``.

world_seed: The seed for generating a minecraft world if ``generate_world_type`` is ``"default"``.
See `here <https://minecraft.fandom.com/wiki/Seed_(level_generation)>`_ for more details.
See `here <https://minecraft.wiki/w/Seed_(level_generation)>`_ for more details.
Default: ``None``.
"""

Expand Down
2 changes: 1 addition & 1 deletion minedojo/tasks/meta/playthrough.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class Playthrough(MetaTaskBase):

world_seed: Seed for deterministic world generation
if ``generate_world_type`` is ``"default"`` or ``"specified_biome"``.
See `here <https://minecraft.fandom.com/wiki/Seed_(level_generation)>`_ for more details.
See `here <https://minecraft.wiki/w/Seed_(level_generation)>`_ for more details.
Default: ``None``.
"""

Expand Down
2 changes: 1 addition & 1 deletion minedojo/tasks/meta/survival.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class SurvivalMeta(MetaTaskBase):

world_seed: Seed for deterministic world generation
if ``generate_world_type`` is ``"default"`` or ``"specified_biome"``.
See `here <https://minecraft.fandom.com/wiki/Seed_(level_generation)>`_ for more details.
See `here <https://minecraft.wiki/w/Seed_(level_generation)>`_ for more details.
Default: ``None``.
"""

Expand Down
2 changes: 1 addition & 1 deletion minedojo/tasks/meta/tech_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class TechTreeMeta(ExtraSpawnMetaTaskBase):

world_seed: Seed for deterministic world generation
if ``generate_world_type`` is ``"default"`` or ``"specified_biome"``.
See `here <https://minecraft.fandom.com/wiki/Seed_(level_generation)>`_ for more details.
See `here <https://minecraft.wiki/w/Seed_(level_generation)>`_ for more details.
Default: ``None``.
"""

Expand Down