Commit graph

26 commits

Author SHA1 Message Date
KohaiKhaos ebfd8ce9a3 Several mimic fixes, with actually cleaned up commit history. (#1379)
* Reimplemented a lot of mimic logic and did a first run of changing how mimics store their states.

* Finished removing all metadata calls for blocks replaced by mimics.

* Update EntityMimic.java

* Update ItemBlockMimic.java

* Update TileMimic.java

* How did I even replace a semicolon with a slash.

* Changed all tabs to 4 spaces. Changed Serializer to StateUtil

* Fixed spacing again, hopefully for the last time
2018-08-07 16:28:55 -07:00
Nicholas Ignoffo 70d98455b7 Cleaned up a lot of different inspections 2018-03-01 19:27:39 -08:00
Nicholas Ignoffo 08258fd6ef Run formatter 2017-08-15 21:30:56 -07:00
Nicholas Ignoffo 554c9852e6 Move commonly used API systems to a plugin based system
Create a class that implements IBloodMagicPlugin and annotate it with
`@BloodMagicPlugin`. The `register` method will be called during init.

Currently implemented systems:
- Blacklisting
  - Teleposer
  - Teleposer (entity)
  - Transposition
  - Well of Suffering
  - Green Grove
- Setting sacrificial values
- Adding altar components
2017-08-15 18:14:28 -07:00
Nicholas Ignoffo 5fcdd978d7 this doesn't compile yet, but have something to peek at 2017-08-14 20:53:46 -07:00
Nicholas Ignoffo f576ec595b Fix some inverted logic with Sentient Mimics (#1149) 2017-06-01 22:31:17 -07:00
Nicholas Ignoffo 5475549c18 More null stack fixes 2017-02-19 16:06:29 -08:00
Nicholas Ignoffo a628adfde8 Lowercase all the tooltip strings 2017-01-02 01:18:29 -08:00
Nicholas Ignoffo 00d6f8eb46 Initial stab at 1.11
About halfway.
2016-12-12 19:56:37 -08:00
Nicholas Ignoffo d7b0abafd9 Fix NPE in mimic when loading some tiles (#951) 2016-10-18 16:12:39 -07:00
Nicholas Ignoffo 24b4c4b8d1 Made all item fields final 2016-09-10 17:04:24 -07:00
Nicholas Ignoffo 537ccc092c Made all block fields final 2016-09-10 16:13:20 -07:00
Nicholas Ignoffo 798bad5583 Clean up TE implementations
Offload some work to base classes that provide some helpers

TODO: Implementations for Inventories (using caps) and ticking tiles with inventories.
2016-09-07 17:46:06 -07:00
WayofTime 7d690ad598 Generalized the demon entity AI logic. Also improved the behaviour of the mimic entities. 2016-08-29 18:56:21 -04:00
WayofTime 4c514224d5 SUPPOSEDLY fixed 1.9.4 compat again. >.> 2016-08-26 18:40:15 -04:00
WayofTime b422e00019 Fixed SILLY rendering errors with the Mimic 2016-08-26 17:11:03 -04:00
WayofTime 215b337f71 Added peaceful-friendly settings for the Sentient Mimics 2016-08-26 17:01:34 -04:00
WayofTime fc6f99df75 Set it so that clicking on a mimic block that has a potion set to it on different sides will allow the person to set the player detection radius, potion spawn radius, and potion spawn intervals.
Also made it so that you can set the player detection of the sentient mimic blocks.
2016-08-26 15:53:58 -04:00
WayofTime 166b629ccb Players in creative can add a potion to the mimic block, which causes them to drop potions from them... >:D Needs tweaking to be more configurable. 2016-08-25 21:07:09 -04:00
WayofTime 8a94dd8acd Mimic entities will spawn when the player can see their block and they are within 5 blocks (mimics with inventories only spawn on interacting with them). 2016-08-24 17:06:24 -04:00
WayofTime 421aa77c02 Worked on mimic spawning and death - needs some adjustments 2016-08-23 19:41:05 -04:00
WayofTime 1adbe04ab8 Made it so that replaced chests from mimics keep their inventory and when broken will drop their inventory. 2016-08-23 17:53:33 -04:00
WayofTime ebd7b1f8da Updated mimics so that they store and display the meta for the block they want to mimic (using reflection). 2016-08-23 15:13:03 -04:00
WayofTime 117e692969 Made the mimics actually render chests and other TESRs properly - need to add non-opaque mimics for wider selection and for chests to not look like crud. 2016-08-22 19:55:15 -04:00
WayofTime a2f89687be Made it so blocks placed inside mimics from someone in Creative do not drop. 2016-08-14 19:14:08 -04:00
WayofTime 9508eec4b0 Created mimic blocks 2016-08-14 14:53:25 -04:00