Remove apathy, rely on other mods

This commit is contained in:
oitsjustjose 2022-06-26 21:37:09 -05:00
commit 8df9cfb917
5 changed files with 2 additions and 392 deletions

View file

@ -1,104 +0,0 @@
configVersion: 2
##################
## Ender Dragon ##
##################
# What is the initial state of the Ender Dragon in the End?
# If 'default', she will be present and attack players, just like the vanilla game.
# If 'passive_dragon', she will be present, but idly noodle about until a player provokes her first.
# If 'calm', the End will not contain an Ender Dragon by default.
# Note: If you choose 'calm', you should also change the 'portalInitialState' setting, so it is possible to leave the End.
# Default: default
dragonInitialState: passive_dragon
# What is the initial state of the End Portal in the center of the main End Island?
# If 'closed', it will not be usable until the first Ender Dragon dies, just like in vanilla.
# If 'open', it will already be open.
# If 'open_with_egg', it will already be open and a Dragon Egg will be present.
# Default: closed
portalInitialState: open
# How many End Gateways will be available when first entering the End, without any Dragons having to die?
# Must be at least 0.
# Must be at most 20.
# Default: 0
initialEndGatewayCount: 4
# What happens when a player places four End Crystals onto the exit End Portal?
# If 'default', a new Ender Dragon will be summoned and she will attack the player, just like in vanilla.
# If 'spawn_gateway', the mechanic will be replaced with one that directly creates an End Gateway, with no fighting required.
# If 'disabled', nothing will happen.
# Default: default
resummonSequence: default
# If 'true', and 'dragonInitialState' is 'calm', players automatically earn the Free the End advancement when visiting the End.
# If 'true', and 'resummonSequence' is 'spawn_gateway', players earn the advancement for resummoning the Dragon when using the spawn_gateway mechanic.
# Has no effects otherwise. Probably should be left as 'true'.
# Default: true
simulacraDragonAdvancements: false
# Can the Dragon perform the 'strafe_player' or 'charging_player' actions?
# strafe_player is the one where she shoots a fireball.
# charge_player is the one where she tries to fly into you.
# If 'false', she will perform the 'landing_approach' action instead, which will cause her to perch on the portal.
# Default: true
dragonFlies: true
# Can the Dragon perform the 'sitting_flaming' or 'sitting_attacking' actions?
# sitting_flaming is the one where she perches on the End portal and pours out a puddle of dragon's breath.
# sitting_attacking is when she roars at you.
# If 'false', she will perform the 'sitting_scanning' action instead, which will soon lead to her leaving her perch.
# Default: true
dragonSits: true
# Does the Dragon deal contact damage?
# Default: true
dragonDamage: true
# Does the Dragon knock back nearby entities, and damage them while she's sitting?
# Default: true
dragonKnockback: true
############
## Wither ##
############
# Comma-separated list of difficulties where the Wither is enabled.
# If the current world difficulty does not appear in the set, building the Wither formation will spawn a Nether Star
# item, and give you the advancement for killing the Wither.
# Default: easy, normal, hard
witherDifficulties: normal, hard
# Is the Wither allowed to intentionally target players?
# Default: true
witherTargetsPlayers: false
# Is the Wither allowed to intentionally target non-players?
# Default: true
witherTargetsMobs: true
# Can the Wither fire black wither skulls?
# Default: true
blackWitherSkulls: true
# Can the Wither fire blue ('charged') wither skulls on Normal and Hard difficulty?
# Default: true
blueWitherSkulls: true
# Does the Wither break nearby blocks after it gets damaged?
# Default: true
witherBreaksBlocks: true
####################
## Elder Guardian ##
####################
# This option affects your own client.
# What happens when an Elder Guardian gives you the Mining Fatigue effect?
# If 'default', the sound effect and particle appear.
# If 'only_sound', only the sound plays, and if 'only_particle', only the particle effect appears.
# If 'disabled', neither of those happen.
# Default: default
elderGuardianEffect: only_sound

View file

@ -1,67 +0,0 @@
configVersion: 0
##################
## Optimization ##
##################
# By default, mobs that are currently attacking a player do not check every tick if it's still okay to do so.
# This is how often the mob will check. (Set this to 1 to check every tick.)
# Must be at least 1.
# Default: 20
recheckInterval: 20
# Should Apathy attempt to optimize the rule in the config file, to do less work per tick?
# If your rule is doing something unexpected, or isn't working like it should, try turning this off.
# And report it too, since it's definitely a bug, lol.
# Default: true
runRuleOptimizer: true
################################
## Wow even more misc options ##
################################
# Comma-separated list of difficulties where zombies are allowed to attack villagers.
# Default: easy, normal, hard
zombieAttackVillagerDifficulties: easy, normal, hard
####################
## Revenge Spread ##
####################
# Comma-separated list of difficulties.
# If the current world difficulty appears in the set, zombified piglins will alert their friends
# when a player provokes one. This will also spread Apathy's revengeTimer to them.
# Default: easy, normal, hard
angryPiggies: normal, hard
# Let's say this option is set to 10, and you attack a zombie. Other zombies within 10 blocks will have their revengeTimer set, too.
# This option affects mobs of the same type only.
# Please recall that the revengeTimer is an Apathy concept, and Apathy only ever suppresses normal mob AI.
# i.e, this won't cause a mob to attack a player that already wasn't going to.
# Must be at least 0.
# Default: 0
sameTypeRevengeSpread: 0
# When attacking any mob, other mobs within this range will have their revengeTimer set, too.
# This option affects all mobs, whether they have the same type or not.
# Please recall that the revengeTimer is an Apathy concept, and Apathy only ever suppresses normal mob AI.
# i.e, this won't cause a mob to attack a player that already wasn't going to.
# Must be at least 0.
# Default: 0
differentTypeRevengeSpread: 0
###########
## Debug ##
###########
# If 'true', Apathy will dump the rule specified in the config file to the file 'comfig/apathy/dumps/builtin-rule.json'.
# It will also dump the automatically optimized rule out to 'config/apathy/dumps/builtin-rule-opt.json'.
# Maybe this is handy if you'd like to see what the .json format looks like for a particular config file.
# Default: false
debugBuiltinRule: false
# If 'true', Apathy will dump the rule specified in mobs.json to the file 'config/apathy/dumps/json-rule.json'.
# It will also dump the automatically optimized rule out to 'config/apathy/dumps/json-rule-opt.json'.
# Default: false
debugJsonRule: false

View file

@ -1,169 +0,0 @@
configVersion: 0
####################
## Nuclear Option ##
####################
# If set to 'true', no mob will ever attack anyone.
# Use this option if you don't want to deal with the rest of the config file.
# Default: false
nuclearOption: false
#########################
## Built In Rule Order ##
#########################
# Which order should the rules in this config file be evaluated in?
# Comma-separated list built out of any or all of the following keywords, in any order:
# json, difficulty, boss, mobSet, tagSet, playerSet, revenge
# Example: difficulty, revenge, playerSet
# Note: If a rule is not listed in the rule order, it will not be checked.
# Default: json, difficulty, boss, mobSet, tagSet, playerSet, revenge
ruleOrder: json
#####################
## Difficulty Rule ##
#####################
# Comma-separated list of difficulties.
# Example: easy, normal
# Default: <empty>
difficultySet: hard
# What happens when the current world difficulty appears in difficultySet?
# May be one of:
# allow - Every mob is always allowed to attack everyone.
# deny - No mob is ever allowed to attack anyone.
# pass - Defer to the next rule.
# Default: pass
difficultySetIncluded: allow
# What happens when the current world difficulty does *not* appear in difficultySet?
# May be one of:
# allow - Every mob is always allowed to attack everyone.
# deny - No mob is ever allowed to attack anyone.
# pass - Defer to the next rule.
# Default: pass
difficultySetExcluded: pass
###############
## Boss Rule ##
###############
# What happens when the attacker is a boss?
# 'Bossness' is defined by inclusion in the 'apathy:bosses' tag.
# May be one of:
# allow - Every boss is allowed to attack everyone.
# deny - No boss is allowed to attack anyone.
# pass - Defer to the next rule.
# Note: If the current attacker is *not* a boss, always passes to the next rule.
# Default: allow
boss: allow
##################
## Mob Set Rule ##
##################
# A comma-separated set of mob IDs.
# Example: minecraft:creeper, minecraft:spider
# Default: <empty>
mobSet: minecraft:evoker, minecraft:piglin_brute, minecraft:pillager, minecraft:ravager, minecraft:vex, minecraft:vindicator
# What happens when the attacker's entity ID appears in mobSet?
# May be one of:
# allow - The mob will be allowed to attack the player.
# deny - The mob will not be allowed to attack the player.
# pass - Defer to the next rule.
# Default: pass
mobSetIncluded: allow
# What happens when the attacker's entity ID does *not* appear in mobSet?
# May be one of:
# allow - The mob will be allowed to attack the player.
# deny - The mob will not be allowed to attack the player.
# pass - Defer to the next rule.
# Default: pass
mobSetExcluded: pass
##################
## Tag Set Rule ##
##################
# A comma-separated set of entity type tags.
# Example: minecraft:raiders, some_datapack:some_tag
# Default: <empty>
tagSet:
# What happens when the attacker is tagged with one of the tags in mobTagSet?
# May be one of:
# allow - The mob will be allowed to attack the player.
# deny - The mob will not be allowed to attack the player.
# pass - Defer to the next rule.
# Default: pass
tagSetIncluded: pass
# What happens when the attacker is *not* tagged with one of the tags in mobTagSet?
# May be one of:
# allow - The mob will be allowed to attack the player.
# deny - The mob will not be allowed to attack the player.
# pass - Defer to the next rule.
# Default: pass
tagSetExcluded: pass
#####################
## Player Set Rule ##
#####################
# The name of a set of players.
# If this option is not provided, a player set is not created, and this whole rule always passes.
# Default: no-mobs
playerSetName:
# If 'true', players can add themselves to the set, using '/apathy set join <playerListName>'.
# If 'false', only an operator can add them to the set, using '/apathy set-admin join <selector> <playerListName>'.
# Default: true
playerSetSelfSelect: false
# What happens when a mob tries to attack someone who appears in the playerSet?
# May be one of:
# allow - The mob is allowed to attack the player.
# deny - The mob is not allowed to attack the player.
# pass - Defer to the next rule.
# Default: deny
playerSetIncluded: deny
# What happens when a mob tries to attack someone who does *not* appear in the playerSet?
# May be one of:
# allow - The mob is allowed to attack the player.
# deny - The mob is not allowed to attack the player.
# pass - Defer to the next rule.
# Default: pass
playerSetExcluded: pass
##################
## Revenge Rule ##
##################
# For how many ticks is a mob allowed to retaliate after being attacked?
# Set to -1 to disable this 'revenge' mechanic.
# When the timer expires, defers to the next rule.
# Must be at least -1.
# Note: The exact duration of the attack may be up to (<revengeTimer> + <recheckInterval>) ticks.
# Btw, the original mod had an option for 'eternal revenge', with an uncapped timer.
# I didn't port that, but the maximum value of the timer is 9223372036854775807 ticks.
# Make of that information what you will ;)
# Default: -1
revengeTimer: 1200
######################
## Last Resort Rule ##
######################
# If absolutely none of the previous rules applied, what happens?
# May be one of:
# allow - By default, mobs are allowed to attack players.
# deny - By default, mobs are not allowed to attack players.
# May *not* be set to 'pass'.
# Default: allow
fallthrough: deny

View file

@ -1,50 +0,0 @@
{
"rules": [
{
"predicate": {
"difficulties": [
"hard"
],
"type": "apathy:difficulty_is"
},
"type": "apathy:allow_if"
},
{
"predicate": {
"type": "apathy:attacker_is_boss"
},
"type": "apathy:allow_if"
},
{
"predicate": {
"timeout": 1200,
"type": "apathy:revenge_timer"
},
"type": "apathy:allow_if"
},
{
"predicate": {
"difficulties": [
"easy"
],
"type": "apathy:difficulty_is"
},
"type": "apathy:deny_if"
},
{
"predicate": {
"mobs": [
"minecraft:vindicator",
"minecraft:pillager",
"minecraft:piglin_brute",
"minecraft:vex",
"minecraft:ravager",
"minecraft:evoker"
],
"type": "apathy:attacker_is"
},
"type": "apathy:allow_if"
}
],
"type": "apathy:chain"
}

View file

@ -72,10 +72,10 @@
#Allows chicken feathers to be plucked w/ shears
enableFeatherPlucking = true
#Prevents mobs from spawning above sea level unless it's a new moon
enablePeacefulSurface = false
enablePeacefulSurface = true
#The lowest Y-level which mobs will be prevented from spawning
#Range: > -2147483648
peacefulSurfaceMinY = 60
peacefulSurfaceMinY = 48
#This controls the overall chance for V-Tweaks to attempt converting a monster to a Challenger.
#This chance is applied before any Challenger Mob weights or entity filters.
#Range: 0.0 ~ 1.0