Chore: Clean up code, Java conventions, and mapping conventions.
bconlon1 opened this issue ยท 6 comments
- Keep methods in fairly consistent order.
- Update parameters and variable names, make sure they're camelcase.
- Cleanup unused imports (use IntelliJ's code analyze option).
- Fix any spacing, unnecessary returns (also as in spacing), bracket placement, lack of usage of
this.
- Use getters and setters and keep fields private for new fields.
- Try to use getters and setters for vanilla fields regardless of protection.
- Any usage of
@SupressWarnings
should probably have documentation detailing why they're there if more are put in. - Properly annotate with
@Override
. - Look for ways to abstract code into functional interfaces in instances of repeated code.
- Abstract some worldgen (trees) and rendering stuff (multi model renderers) to Nitrogen
Currently blocked by #518.
Progress:
-
advancement
-
api
-
block
-
blockentity
-
capability
-
client
-
command
-
data
-
effect
-
entity
-
event
-
integration
-
inventory
-
item
-
loot
-
mixin
-
network
-
perk
-
recipe
-
util
-
world
- Aether
- AetherConfig
- AetherTags
Block and Item refactoring pending on MinecraftForge/MinecraftForge#8838.
Various item/block fixes and refactors that need doing or looking into:
- Use more
<br>
s for javadoc readability. - More capitalization for items in javadocs
- Make sure param javadocs link class.
- Abstract full swing check to EquipmentUtil.
- Item repair ingredient tags.
- Abilities need to be cleaned up to no longer be tag and mixin-based because the implementation was too rough.
- Remove the weapon and tool tags that were previously used for basing behavior off of because they're redundant at this point.
- Gravitite Sword ability should only work if the mob is on the ground.
- Abilities should only occur when an attack is at full strength.
- Rename lol_us kino stick to bdogz stick
- Zombified Piglins for some reason don't target the player when killed with a Pig Slayer.
- Pig Slayer should double cooked porkchops in addition to raw porkchops.
- Potentially balance Pig Slayer to not one-shot Piglin Brutes or Hoglins but maybe just two-shot them.
- Reorganize
item.combat
package a bit. - Unique lore entry for jeb hammer if doable. Might just need a custom hardcoded override. Maybe have a list for this for modders to be able to use to inject override entries to the book of lore, since this wouldn't be able to be utilized in a non-addon context.
- Valkyrie Tools' extended reach needs to be made to not work if in the offhand or any other situation where it can be exploited. 65c4d32
- Valkyrie Tools and Lance may need slower attack speed.
- Darts will float in the air if you shoot a lot at an entity at a time. Might be caused by invincibility frames. If deflected off an entity they should regain gravity.
- .orElse(null) check needs to be removed within the dart layer renderers or anywhere else and be replaced with an ifPresent() lambda.
- Obsidian Armor needs its ability removed; it didn't have one afaict.
- Dungeon Armor gloves' attack strength need rebalancing to match Netherite Gloves.
- Glove attack strength might need more balancing again.
- Ice accessories need to be able to "freeze" waterlogged blocks like Icestone does at the moment.
- Config option for ice accessories to create temporary blocks instead of permanent blocks. Look at conditional Forge recipes.
- Document FreezingBehavior
- Need to add cauldron interactions for the Skyroot Powder Snow Bucket
- Aether Portal Item placement needs to not be blocked by grass and snow, it should replace those upon placement.
- Keys need a better handheld model.
- Remove any textures from the optional resource packs if they're the same as the new textures to cut down on space.
- Fix Hammer of Notch projectile being able to push entities like the Sun Spirit.
- Cape rotation is broken on multiplayer; need a packet that sends the data to all clients not just the player with the cape.
- Valkyrie Armor wing rotation continues even when the game is paused.
- Our unique Curio slot tags should probably by default include some of the standardized Curio tags so other mods' Curios can be used by default in our slots.
- Configs for Hammer of Notch and Cloud Staff cooldowns.
- Rotate Victory Medal held model.
- In Survival, gloves still render in first person even when using the invisibility cloak. They also don't render with the invisibility effect even though they should because it doesn't remove armor in third person.
- Gravitite Axe causes floated blocks to spawn two blocks from it when colliding.
- Gravitite Pickaxe doesn't work.
- Double drop related classes need cleanup and I need to get rid of the DoubleDrops interface.
- FrictionCapped needs to be fixed to work for non-player entities by being made to run on both level sides.
- It might make sense to make Ambrosium Blocks a fuel source, as well as icestone walls, stairs, and slabs.
- See if it's possible to make tall grass on top of enchanted aether grass match the color, if it is not too much of a hassle to get working (see ColorResolver)
- Drop Golden Apples with high rarity from Golden Oak Leaves. Reimplement relevant pro tip.
- Improve dungeon block overlay performance.
- Improve dungeon block overlay appear and disappear times.
- Let Enchanted Grass be bonemealable. But don't let it spread.
- Mossy Holystone recipe with vines/moss + holystone.
- Cleanup AetherTeleporter.
- The disable_aether_portal config doesn't work or do anything and needs fixing.
- Some way of letting entities not trigger trapped blocks.
- Remove onlyin annotations.
- Stripped blocks need to not use the double drops function for their loot tables (currently it makes them drop nothing).
- Rename DungeonTracker to BossRoomTracker
- Maybe it'd be worth ensuring some data is tracked on the client with BossRoomTracker but is only queried on the server by the mod. In case addons for some reason need the info on the client even though we don't.
- Sun Spirit can be pushed with explosions.
- ValkyrieWingsLayer needs a parameter for the texture; Valkyrie Queens are meant to have a different wing texture but they use the regular valkyrie wing texture instead.
- Valkyrie Queen can sometimes still teleport outside of the dungeon room bounds.
- Weird slider shield breaking behavior. Could maybe get around this with cancelling ShieldBlockEvent for the Slider.
- Possibly make snowballs damage Fire Minions.
- There may be a bug where you're stopped from being eaten by Swets if you crouch.
- Frogs try to eat swets being ridden by players; maybe cancel frogs targeting swets in this scenario.
- ContinuousAttackGoal for Mimics?
- Aerbunnies aren't immediately able to immediately use their jump boost when falling; I think this was intentional but the delay between reaching max height when jumping and falling a speed enough to let them jump is slightly too much at the moment.
- Swets need to not use the Slime Squishes subtitle.
- Swets need to not spawn slime particles.
- Aerbunnies need to not be able to be interacted with by other players in mobInteract if they're mounted.
- Aerbunnies need to automatically demount on both sides if a player goes into spectator.
- Certain gamerules like randomTickSpeed can't be customized in the Aether (changing them doesn't reflect in the Aether but does in the overworld).
- Sleeping in a bed changes the time with overworld time intervals and not aether time intervals.
- Check if certain GUI elements like the "Ascending to the Aether" text properly respect GUI sizing settings and if they may need repositioning in these situations.
- Halo perk doesn't follow crouch offset.
- Aether Portal can replace locked blocks if it spawns in a dungeon.
- Fix void fog.
- Some block hardnesses are not accurate to the original mod.
- Cockatrice darts don't damage shields, other projectiles might have a similar issue.
- Did moas have rarity based on color for spawning in beta.
- Trapped blocks should spawn mobs based on the player's facing direction. - Cactus
- Reduce trapped block volume. - Cactus
- Prevent portals from spawning on blue aerclouds
- Potentially weird behavior with Swets duplicating on death even when they shouldn't.
- Swets aren't dropping experience, and most mobs it turns out.
- Reduce spawnrate of swets, whirlwinds, aechor plants; reduce swet pack size.
- Increase gravitite rates.
- Larger swet hitbox
- Sentry hitbox is inaccurate; render is a size bigger than its assigned slime size, which is intended, however it means the hitbox is one size smaller than the render size so the hitbox needs to be tweaked.
- Sentries can explode even after death if collided with.
- Baby Moas shouldn't be able to spawn naturally.
- Swets too common, aechor plants too common, whirlwinds not common enough, zephyrs not common enough.
- Prevent cockatrices from spawning in rain.
- Fix custom advancement jingles for bosses.
- Discuss balance of having hostiles target passives.
- Increase minimum spacing of aerial dungeons.
- Blue name for frosted disc
- swet can still duplicate
- Whirlwind unaffected mob tag
- Incorrect phyg texture
- gravitite can be broken with torches; only break floating blocks maybe if theyre by-hand harvest level
- enchanted berries need more saturation
- leftover bucket issue with altars?
- eternal day syncing issue on servers - Cactus
- tall grass on by default
- edible ambrosiun on by default
- Recipe for shield in aether
- balance moa jump power
- nerf aerbunnies
- nerf swet health
- remove pink aerclouds - Bconlon
- fix gravitite dupe bug
- mimics need shorter attack range - Cactus
- Subtitles don't use aether namespace. - Bconlon
- Subtitles call Aether crafting stations furnaces; not sure if they should even use furnace noises. - Bconlon
- disc - Bconlon
- Moa type render crash; add default values to texture locations in case of nullability. - Drullkus
- Slider can't target the player if they're wearing an invisibility cloak. Should add a boss tag check for the visibility blocking.
- another grav dupe bug
- Simplify check here https://github.com/Gilded-Games/The-Aether/blob/ab3df95e491d77434f87f022a4e4468ed1be5476/src/main/java/com/gildedgames/aether/block/miscellaneous/FloatingBlock.java#L54 - Bconlon
- make ambrosium furnace fuel - bconlon
- Spread out bronze dungeons a bit more again due to overlaps - Oz
- review mob chase ranges like for cockatrices and zepyhr - Oz
- gravitite ore drops when reaching height limit
- moa flap sound isn't playing
- moas need step sound + faster flap animation(?) - Bconlon
- moa flap slightly jitters when landing?
- moa can flap when sitting: https://discord.com/channels/118816101936267265/932492946052362240/1077680231948767234
- other weird things can happen with nature staffed moas: https://discord.com/channels/118816101936267265/932492946052362240/1077680764570828871
- bug with aerbunny and blue aercloud interaction
- Tall grass doesn't spawn under terrain; may need to use a different heightmap or the improved layer placement modifier. Could trees also do the heightmap thing? - bconlon
- Better healing/inebriation overlay textures - Oz
- Orange moa balancing or removal
- Update curios dependency
- Double check that all lore entries are actually accurate to default item states and their current iterations in the mod. - Bconlon
- more advancements and new layout - Oz
- opaquer aerclouds - Oz
- Crash when other entities mount moas? - bconlon
- rebalance obsidian armor obtainmentm - Bconlon
- include trigger for inventory_changed in the obsidian armor conversion code - Bconlon
- cold lightmap - bconlon
- green sunset config - bconlon
- lance mending fix? - bconlon
- more wool usable in blue cape
- sentry slime issues - Oz
- sentry reach - Programmer
- zanite accessory durability desig - Programmer
- Valkyrie Queen can despawn when chunks are unloaded - Programmer
- Crystal projectiles need the spawn particle code coupled with their discard code to ensure the particles always spawn with projectile death - Programmer
- ice ball balancing again - Oz
- Sun Spirit doesn't face player when invisible - Programmer
- Moas can age up without being fed; might be something from the AgeableMob code interfering - Programmer
- adjust sunset color - Oz/Programmer
- missing cloud crystal death lang and also cloud parachute pro tip should say cold parachute - Programmer
- treasure chest lore fix - Oz/Programmer
- look into balancing crafter recipe speeds - Oz
- correct zanite/gravitite textures in old packs - Oz
- aechor plant spawn changes - Oz/Programmer
New PR to keep up with: MinecraftForge/MinecraftForge#9000
Relevant to block cleanup: MinecraftForge/MinecraftForge#9139