Commit Graph
299 Commits
Author SHA1 Message Date
Martin Robertz 8a8c0abd64 update 6.1.4-pre 2025-06-28 16:10:45 +02:00
Martin Robertz a0fe8f9570 Merge remote-tracking branch 'Charsy89/Charsy89-patch-1' into dev
# Conflicts:
#	src/main/java/cpw/mods/ironchest/IronChest.java
2025-06-28 16:10:25 +02:00
Charsy89 b9805353b7 Specify access transformer file in gradle.properties 2025-06-24 10:35:02 +00:00
Charsy89 1e03c304e3 Remove unused configuration option
* Left over from a previous version? Or unrealised planned feature?
2025-06-23 06:01:27 -06:00
Charsy89 a3931ff4b4 Remove unused local variable in TileEntityIronChestRenderer constructor 2025-06-23 05:55:22 -06:00
Charsy89 e323074c48 Fix typo in comment for enableDarkSteelChests configuration node 2025-06-23 05:53:42 -06:00
Charsy89 055c6fe891 Add comments to the configuration nodes transparentRenderInside and transparentRenderDistance 2025-06-23 05:52:48 -06:00
Charsy89 43fdbc0073 updateDependencies 2025-06-23 05:42:35 -06:00
Charsy89 bcd71f698a Update .gitignore to match the one in GTNH ExampleMod repository 2025-06-23 05:42:02 -06:00
Charsy89 52236f37d7 Revert "Update .gitignore to match the one in GTNH ExampleMod repository"
This reverts commit e2077a3afa.
2025-06-23 05:38:23 -06:00
Charsy89 ccfeb5d3d6 spotlessApply 2025-06-23 02:27:34 -06:00
Charsy89 f025cc955e Allow disabling ocelots blocking Iron Chests when sitting on them
* Adds a comment to the ocelotsSitOnChests configuration node
2025-06-23 02:20:31 -06:00
Charsy89 d63df23d64 Prevent opening an Iron Chest if an ocelot is sitting on it!
* Matches vanilla behavior.
2025-06-23 02:04:01 -06:00
Charsy89 9faaa0eb25 Only sit on chests that have no players using them
* Adds a public method TileEntityIronChest#getNumUsingPlayers, which returns the value of the private field numUsingPlayers.
2025-06-23 01:47:31 -06:00
Charsy89 42299247de Increase the navigation speed so that it matches vanilla.
* 0.4 is far too slow, but 1.33 also seems a little too fast. Oh well.
* Updates the constructor signature of IronChestAIOcelotSit to match the superclass constructor signature.
2025-06-23 01:40:45 -06:00
Charsy89 becc1c396c Make sure we register the event handler that replaces Ocelots' find-a-block-to-sit-on AI task 2025-06-23 01:36:12 -06:00
Charsy89 d0707ed52a Override func_151486_a to check for an Iron Chest, and pass to the superclass method otherwise. 2025-06-23 01:34:39 -06:00
Charsy89 1ba033c4c2 Apply an access transformer to the method we need to override
* This method checks to see if the block at the given coordinates is a chest with no players using it, a lit furnace, or the foot of a bed.
* We will override this method in IronChestAIOcelotSit so that it also checks for an Iron Chest.
* When an Ocelot spawns, we replace its AI task responsible for finding blocks to sit on with our own task.
* If an Iron Chest is not found, we pass the return value of the vanilla method in the superclass of IronChestAIOcelotSit.
2025-06-23 01:31:04 -06:00
Charsy89 e2077a3afa Update .gitignore to match the one in GTNH ExampleMod repository 2025-06-23 01:00:57 -06:00
Martin Robertz 7de45a8f79 update 6.1.3 2025-06-08 10:54:28 +02:00
Nikolay S. e273a576d6 Add missing language key (#29) 2025-06-08 05:31:18 +00:00
Dream Master 2fd05d0e33 update 6.1.2 2025-03-11 14:07:49 +01:00
Caedis c8473ea359 New textures by krezhvick (#27) 2025-03-10 09:56:43 -05:00
Martin Robertz 2172609356 update 6.1.1 2025-01-16 12:20:10 +01:00
huihiuhuai 5d23d43aff Update zh_CN.lang (#25) 2025-01-15 23:43:04 -06:00
Dream Master f92d4f1913 update 6.1.0 2025-01-02 13:08:35 +01:00
glowredman 6ef2c5c501 Add Localization (#24) 2025-01-02 12:25:44 +01:00
Martin Robertz f997c5a8f0 update 6.0.87 2024-10-06 14:06:15 +02:00
GDCloud 8edd3e8acc new texture (#23) 2024-10-06 03:59:18 +02:00
Martin Robertz 52bffaece3 update 6.0.86 2024-09-06 14:28:44 +02:00
Darren Eberly 63fe0c39b3 Add Curseforge and Modrinth distribution (#22)
* Update deps

* Add curseforge and modrinth project IDs
2024-09-04 13:15:58 +02:00
Caedis 8cabb2845e Add Silver Chest GUI code (#21)
* Someone forgot to add these

* spotless
6.0.85
2024-03-14 19:20:38 -04:00
Martin Robertz caa9468c89 update 6.0.84 2024-03-14 19:36:57 +01:00
Caedis e91268c0f7 Check if source and target of upgrade are both enabled before registering (#20) 6.0.83 2024-03-14 14:17:16 +01:00
Martin Robertz 2243653581 update 6.0.82 2024-03-12 17:57:41 +01:00
Pascal 394d2e7c06 Improve tier handling & recipe generation (#19)
* initial work

* optimize

* last improvements

* don't go throw each recipe if gtnh is loaded

* spotlessApply

* add separated configs & adjust upgrade generation

* dark steel is also explosion safe

* add missing upgrades

* another two missing upgrades

* use explosion indicator & remove netherite ugprades expect obsidian

* use resistance number

* make upgrades configurable

* prevent crystal/obsidian to darksteel upgrade beeing added if darksteel is disbaled
2024-03-12 15:21:33 +01:00
Pascal b1e9640087 fix recipes for non-GTNH environments (#17) 2024-03-03 22:38:12 +01:00
Pascal eecfc38d6f do not use crystal as tiered chest (#18) 2024-03-03 17:07:22 +01:00
Martin Robertz 9833ed2adb update 6.0.78 2024-03-03 12:26:30 +01:00
40aca9a63b Implement new chests (from @unicornbloods) (#16)
* Start adding netherite chest

* Netherite chest GUI.

* Netherite chest textures.

* Netherite English lang.

* Netherite chest upgrade.

* Netherite chest recipes.

* Update diamondObsidianUpgrade.png to not look similar to not look similar to netherite icon

* Remove copyright from netherite chest tile entity class

* Disable loading netherite chests on GTNH

* Properly not load chests on GTNH.
Add Dark Steel for GTNH Netherite equivalent.
Add config option to use steel chest instead of silver with the default being true.

* Make netherite chest blast resistant

* Fix metadata IDs

* Make Netherite an upgrade to obsidian instead

* Update bs + enable modern java syntax

* Fix compat with gtnh

* fix dark steel upgrade icon

* make dark steel chest configurable (default to gtnh existence)

* catch missing mappings for dark steel & ironchest

* fix mapping of obsidianNetheriteUpgrade

* spotlessApply

* fix translation for netherite upgrade & german translation

* git push

---------

Co-authored-by: unicornbloods <[email protected]>
Co-authored-by: Dakotah <[email protected]>
Co-authored-by: Pilzinsel64 <[email protected]>
2024-03-03 12:24:47 +01:00
Raven Szewczyk ea3f609392 [ci skip] upgraded build system 2024-02-04 19:59:39 +00:00
Martin Robertz 6b111b26ca update bs+deps 6.0.75 2024-01-12 18:54:15 +01:00
Raven Szewczyk 48ece82280 [ci skip] upgraded build system 2024-01-08 21:26:53 +00:00
Nico Spiske 79ec05aacc Bookmark pull feature for iron chests (#12)
* [minor] added bookpark pull feature to ironchests, bumped deps and bs, sa applied

* [minor] proper version (sorry about that) :)
6.0.74
2023-10-12 15:26:44 +00:00
Dream-MasterXXL b7d0022d31 update gradle
update deps
6.0.73
2023-10-09 22:31:07 +02:00
AnrDaemon acd0a09eea Reverted recipes removal (#11)
* Reverted recipes removal

* Updated buldscript

* Spotless apply
2023-10-08 16:41:47 -07:00
Rad 492eb80372 Fix steel chest name (#10) 6.0.72 2023-09-02 12:17:09 +01:00
Raven Szewczyk 6e56487257 [ci skip] upgraded build system 2023-01-31 09:53:52 +00:00
Jason Mitchell cf290fdc43 [ci skip] Add git-blame-ignore-revs for spotlessApply 2023-01-29 13:08:32 -08:00
Jason Mitchell 23c01089f9 [ci skip] spotlessApply with the new settings 2023-01-29 13:08:32 -08:00