1
0
Fork 0
Commit Graph

208 Commits (mcl-structures-fixes)

Author SHA1 Message Date
AFCMS 3a2ce2feb8
First pass on `mcl_structures` (there are still issues I can't resolve)
- use new vectors
- comment unused functions and variables (translator, etc)
- no longer redifine variables in a confusible way
- add (very) basic type annotations
- simplify some parts of the code
- make /spawnstruct command always return boolean + output instead of chant_send_player
- simplify /spawnstruct command code
2022-11-15 21:45:17 +01:00
cora 63225c20e5 change schematics for gold and sponges instead of chests 2022-11-15 01:28:51 +01:00
PrairieWind 54d4a97a27 Add Ocean Temple Loot 2022-11-15 01:28:51 +01:00
cora 61b5783e73 Make temple rarer 2022-11-15 01:28:51 +01:00
cora 04cb919f2b structure-spawning: make water spawns possible 2022-11-15 01:28:51 +01:00
cora 4ceecffc8b Add ocean temple 2022-11-15 01:28:51 +01:00
cora 00541cbfb8 Fix end spike wrong vector.add usage 2022-11-15 01:26:06 +01:00
cora 36a6a353a3 Fix local construct_nodes 2022-11-15 01:26:06 +01:00
cora e146b173b3 Replace "oning" with cages 2022-11-05 01:18:03 +01:00
cora 51d34c9f3d Add second pillager outpost schematic 2022-11-05 01:18:03 +01:00
cora 009ca7535c Add nether outpost with bridges
just via spawnstruct for now
2022-11-01 04:52:17 +01:00
cora d393e6a181 fix single mob spawning and poutpost walls 2022-11-01 04:52:17 +01:00
cora 0f01a28c93 Add structure spawning to other structures 2022-11-01 04:52:17 +01:00
cora 27a434641d Make structure spawning respect caps 2022-11-01 04:52:17 +01:00
cora 77bdce5cea Add structure mob respawning mechanic
this sets a metadata field "spawnblock" in the nodes mobs spawn on
and registers an abm to respan them
2022-11-01 04:52:17 +01:00
cora 1f58cfb240 Fix merge conflict 2022-11-01 04:52:17 +01:00
cora 6b8236e8f3 Fix crash in villagegen 2022-11-01 04:52:17 +01:00
cora 6bc12ec5ec mcl_structures Check if file exists before placing schematics 2022-11-01 04:52:17 +01:00
cora 302b18833a Add variable interior for nether bulwark 2022-11-01 04:52:17 +01:00
cora f76e0628e4 initial daughter structure support 2022-11-01 04:52:17 +01:00
cora c850c0dfbb move remaining api code to mcl_structures/api.lua 2022-10-28 21:25:43 +02:00
cora 9aaa13408a Remove get_structure_data_construct
the positions are available from the registered structure
2022-10-28 21:25:43 +02:00
cora c30e2c33b9 Move end portal shrine generation to structure api 2022-10-28 21:25:43 +02:00
cora 146e2de1a5 Structure-api: add initial rotation support 2022-10-28 21:25:43 +02:00
cora 4a9a7b8fef Fix igloo chest loot 2022-10-16 00:52:47 +02:00
cora dd163f4850 initialize special nodes on igloo placement 2022-10-16 00:52:47 +02:00
cora 7fee2cd55a struct-api: export construct_nodes function 2022-10-16 00:52:47 +02:00
PrairieWind 7f2ecb6ed0 Add brewing stand and furnace to igloo schematics 2022-10-16 00:52:47 +02:00
cora 1a380da960 Don't spawn pilalgers *in* the ground 2022-10-14 02:31:23 +02:00
cora 4de1e4d543 Fix Structure loot generation (again) lol 2022-09-14 20:37:08 +00:00
cora 70e0d8bdfd Don't spawn the dragon in peaceful
and keep portal open
2022-09-14 20:37:08 +00:00
cora ba7f534d2f Make end island larger 2022-09-14 20:37:08 +00:00
cora 78703d2baa Fix lighting issues in the end 2022-09-14 20:37:08 +00:00
cora 540bf56b91 Add logging settings for mapgen and structures
mapgen logging being default off and structure generation default
on as the latter is the far more useful of the 2 in most situations
2022-09-14 20:37:08 +00:00
cora adc4e9f810 Move end gateway portal to structure api 2022-09-14 20:37:08 +00:00
cora a3c4d915b3 Fix dragon spawning with crystals 2022-09-14 20:37:08 +00:00
cora e6707d1ef9 fix iron cage size, doubled dragon view range 2022-09-14 20:37:08 +00:00
cora ef384f7062 Make dragon spawn again, fix dragon fight 2022-09-14 20:37:07 +00:00
cora f3e40803f4 Put register_generator api in a separate file 2022-09-14 20:37:07 +00:00
cora 244dfa244e Fix barrels in woodland cabins 2022-09-14 20:37:07 +00:00
cora 8264ea804a Add iron cages to some obsidian pillars 2022-09-14 20:37:07 +00:00
cora f753ac92ce Fix loot, elytra and shulker spawning 2022-09-14 20:37:07 +00:00
cora 86d98a9eeb add construct_nodes to structure api 2022-09-14 20:37:07 +00:00
cora b62b3296b8 Add end boats and shipwrecks 2022-09-14 20:37:07 +00:00
cora 2c7838bdf6 make the end island slightly larger
also uses the mcl_mapgen_core api now
2022-09-14 20:37:07 +00:00
cora 7d2543e03c Properly close exit portal 2022-09-14 20:37:07 +00:00
cora 48514ece5b Add End Spikes 2022-09-14 20:37:07 +00:00
cora 129dd24cc5 Fix inaccurate warning about spawn platform 2022-09-14 20:37:07 +00:00
cora 1d942e9946 Exit portal and spawn platform -> mcl_structures 2022-09-14 20:37:07 +00:00
cora 9449cdfd88 Don't spawn illagers in cabins in peaceful 2022-09-07 11:58:16 +02:00