Skip to content

Commit

Permalink
Update Enderzoo Dire Wolf config per GTNewHorizons#5485
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhendricks committed Feb 11, 2020
1 parent 064c49c commit 0e66438
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ config/warptheory/
!config/enderio/EnderIO.cfg
!config/enderio/VatRecipes_Core.xml
!config/enderzoo/EnderZoo.cfg
!config/enderzoo/SpawnConfig_Core.xml
!config/EnhancedLootBags/LootBags.xml
!config/forestry/apiculture.conf
!config/forestry/backpacks.cfg
Expand Down
17 changes: 10 additions & 7 deletions config/enderzoo/EnderZoo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ difficulty {

"dire wolf" {
# If a player gets within this range they will be attacked
D:direWolfAggresiveRange=4.0
D:direWolfAggresiveRange=3.0

# Base attack damage of the dire wolf
D:direWolfAttackDamage=10.0
D:direWolfAttackDamage=8.0

# If false Dire Wolves will be disabled [default: true]
B:direWolfEnabled=true
Expand All @@ -143,22 +143,25 @@ difficulty {
D:direWolfHardAttackModifier=1.0

# Base health of the Dire Wolf
D:direWolfHealth=20.0
D:direWolfHealth=16.0

# The chance a dire wolf will howl when it is asked to play a sound. Defaults to 0.1 (10%)
# The chance a dire wolf will howl when it is asked to play a sound. Doubled at night, and doubled again near full moon. Defaults to 0.05 (5%)
D:direWolfHowlChance=0.01

# Minimum time, in ticks, between dire wolf howls. This does not include pack howls. Defaults to 15 minutes
I:direWolfHowlDelay=18000

# The volume multiplier for the dire wolf's howl. 12 is default.
D:direWolfHowlVolumeMult=2.0

# When true all nearby dire wolves will join an attack [default: true]
B:direWolfPackAttackEnabled=true

# The amount of other dire wolves that will "join in" with the initial howl, per pack howl.
# The amount of other dire wolves that will "join in" with the initial howl, per pack howl. 2x near full moon.
I:direWolfPackHowlAmount=8

# The chance that when a dire wolf howls, nearby dire wolves will "join in" to a pack howl. Defaults to 0.6 (60%)
D:direWolfPackHowlChance=0.2
# The chance that when a dire wolf howls, nearby dire wolves will "join in" to a pack howl. 4x near full moon. Defaults to 0.2 (20%)
D:direWolfPackHowlChance=0.1
}


Expand Down
141 changes: 141 additions & 0 deletions config/enderzoo/SpawnConfig_Core.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Specifies the spawning behavior of Ender Zoo mobs.
These settings can be modified, and changes can be made to non Ender Zoo mobs in the SpawnConfig_User.xml file.
This file will be replaced each time Ender Zoo is loaded and is only placed in the config dir as a guide to creating
entries in the user file.
Note that all entries are applied in order. This allows, for example, for existing slime spawns in swamps to be removed in one
entry, and then in the following (using a different ID) they can be added back with different rates / group sizes.
The basic format for the file is as follows:
<SpawnConfig>
<entry ...> 1..x
<biomeFilter ...> 0..x
<biome/> 1..x
</biomeFilter>
<dimensionExclude .../> 0..x
</entry>
</SpawnConfig>
entry attributes:
- entry.id:
Used to uniquely identify the entry. If an entry with this id exists in the user file that entry will replace the one in
the core file.
- entry.mobName: The name used to register the mob with Minecraft.
- entry.creatureType: (Optional, default monster) The type of mob. Values must match the names in EnumCreatureType. Valid entries:
monster, creature, ambient, waterCreature
- entry.rate: The rate at which the entities are spawned, for example 10=Enderman spawn rate, 100=Zombie spawn rate
- entry.minGroupSize: (Optional, default 1) the minimum number of mobs to be spawned per group
- entry.maxGroupSize: (Optional, default 3) the maximum number of mobs to be spawned per group
- entry.remove: (Optional, default false) if true all all existing spawn entries matching this entry will be removed rather than added
in this case the rate is ignored, but must still be included cause I am lazy
Each entry can include 0 or more biome filters. To remove an entry from the core file via the user file create an entry with the
same id and no biome filters.
biomeFilter attributes:
- type: The type of filter
'any': if a biome matches any of biome entries, and does not match any of the excluded entries, the mob will be able to spawn in that biome
'all': if a biome matches all of biome entries, and does not match any of the excluded entries, the mob will be able to spawn in that biome
Each filter must contain one or more biome entries
biome attributes:
- type: The name of the biome type. There can be many biomes registered for a specific type based on the mods installed
Any number of biome types can be listed for a filter
All valid biome types that are listed in BiomeDictionary.Type. The base types are:
MESA, FOREST, PLAINS, MOUNTAIN, HILLS, SWAMP, SANDY, SNOWY, WASTELAND, BEACH, MUSHROOM, OCEAN, RIVER, NETHER, END
The special name BASE_LAND_TYPES includes:
MESA, FOREST, PLAINS, MOUNTAIN, HILLS, SWAMP, SANDY, SNOWY, WASTELAND, BEACH
- name: The name of the biome. Must be exactly as registered.
- exclude: (Optional, default false) when set to false any biomes matching this type will be excluded. For example, if
FOREST is specified as a biome type, and CONIFEROUS is specified with the exclude set to true, then the mob will not
spawn in a forest with coniferous trees (e.g. spruce) will be excluded
Each entry can include 0 or more dimension excludes. This will stop the mob spawning in the specified dimension/s.
Dimension excludes can be defined in three ways: by name, by ID and by ID range
dimensionExclude attributes:
- name: The name of the dimension, for example: "The End", "Nether", or "Overworld"
<dimensionExclude name="The End"/>
- id: The ID of the dimension to be excluded
<dimensionExclude id="1"/>
- idStart: The minimum ID to be excluded
- idEnd: The maximum ID to be excluded.
<dimensionExclude idStart="2" idEnd="10"/>
In this example the mob will not spawn in any dimension with an ID between 2 and 10 inclusive
-->
<SpawnConfig>

<entry id="ConcussionCreeper" mobName="enderzoo.ConcussionCreeper" creatureType="monster" rate="40"
minGroupSize="1" maxGroupSize="3" remove="false">
<biomeFilter type="any">
<biome type="BASE_LAND_TYPES" />
<biome type="NETHER" exclude="true" />
<biome type="END" exclude="true" />
<biome type="MUSHROOM" exclude="true" />
</biomeFilter>
<dimensionExclude name="Twilight Forest"/>
<dimensionExclude name="Dungeon"/>
</entry>

<entry id="EnderMiny" mobName="enderzoo.Enderminy" rate="30">
<biomeFilter type="any">
<biome type="FOREST" />
<biome type="SWAMP" />
<biome type="JUNGLE" />
<biome type="NETHER" exclude="true" />
<biome type="END" exclude="true" />
</biomeFilter>
<dimensionExclude name="Twilight Forest"/>
</entry>

<entry id="FallenKnight" mobName="enderzoo.FallenKnight" rate="30" minGroupSize="1" maxGroupSize="4">
<biomeFilter type="any">
<biome type="PLAINS" />
<biome type="NETHER" exclude="true" />
<biome type="END" exclude="true" />
</biomeFilter>
<dimensionExclude name="Twilight Forest"/>
</entry>

<entry id="WitherWitch" mobName="enderzoo.WitherWitch" rate="5" minGroupSize="1" maxGroupSize="1">
<biomeFilter type="any">
<biome type="FOREST" />
<biome type="SWAMP" />
<biome type="PLAINS" />
<biome type="HILLS" />
<biome type="MOUNTAIN" />
<biome type="NETHER" exclude="true" />
<biome type="END" exclude="true" />
</biomeFilter>
<dimensionExclude name="Twilight Forest"/>
</entry>

<entry id="DireWolf" mobName="enderzoo.DireWolf" rate="20" minGroupSize="2" maxGroupSize="5">
<biomeFilter type="all">
<biome type="SNOWY" />
<biome type="NETHER" exclude="true" />
<biome type="END" exclude="true" />
</biomeFilter>
</entry>


</SpawnConfig>

0 comments on commit 0e66438

Please sign in to comment.