Commit Graph

627 Commits

Author SHA1 Message Date
Wuzzy bcf7125f9d Fix mob items not working without maphack priv 2019-02-08 17:55:14 +01:00
Wuzzy d59d789c80 Put boat/minecart in inv when punched in creative 2019-02-06 21:56:52 +01:00
Wuzzy 66c99efb2f Hide "useless" items from creative and craft guide 2019-02-06 10:57:23 +01:00
Wuzzy 37b9b6fbfc If mob jumped against wall 4 times, turn around 2019-02-06 08:51:09 +01:00
Wuzzy d4fe313077 Mobs: Fix line-of-sight handling (thanks, chon!) 2019-02-06 08:27:14 +01:00
Wuzzy 0068508968 Don't add weapon wear in Creative Mode 2019-02-05 21:11:37 +01:00
Wuzzy 3563b5448c Slime: Don't add speed if mother was stuck 2019-02-05 21:02:36 +01:00
Wuzzy 958989c80d If slime/mcube was killd, smaller m. att. attacker
Previously, if you killed a big slime, the smaller slimes that spawn are neutral.
2019-02-05 20:49:34 +01:00
Wuzzy ca484cfa1a Improve child spawn on slime/magmacube death
No longer do children spawn in walls
2019-02-05 20:19:06 +01:00
Wuzzy 1c35828fa2 Fix stupid mob spawn height 2019-02-05 19:24:02 +01:00
Wuzzy cfd5615548 Spawn smaller slime/magmacube if it doesn't fit 2019-02-05 19:12:28 +01:00
Wuzzy b7a2fba1ce Fix spawn ABM check that prevented squid spawn 2019-02-05 17:43:18 +01:00
Wuzzy 64457b151c Improve free space checks on mob spawn 2019-02-05 17:05:40 +01:00
Wuzzy a285827980 Change powered rail texture names to fix MTG clash 2019-02-04 12:38:36 +01:00
Wuzzy 0586c0ea18 Destroy items in fire 2019-02-01 08:31:17 +01:00
Wuzzy 29040f9352 Add magma cube sounds 2019-02-01 08:13:45 +01:00
Wuzzy e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy 8ff69dda0c Despawn animals, too 2019-01-31 22:00:43 +01:00
Wuzzy 0a803400fe Mobs: Disable war_cry sound for now 2019-01-31 07:57:03 +01:00
Wuzzy 27823dbbb3 Remove frustration mob sound 2019-01-31 07:45:42 +01:00
Wuzzy 139b1000ff Implement mob suffocation 2019-01-31 07:23:35 +01:00
Wuzzy c9fb060ea0 Tweak zombie growl sound occurence 2019-01-31 07:20:51 +01:00
Wuzzy e1e7d5215e Add more mob sound cooloffs 2019-01-31 06:31:04 +01:00
Wuzzy a2b39ed943 Mobs: Prevent jump sound spam 2019-01-31 02:44:05 +01:00
Wuzzy d34c48cb59 Insta-drop minecart when its rail is destroyed 2019-01-30 03:37:47 +01:00
Wuzzy 6748576f8e Increase minecart floating check timer 2019-01-30 03:37:23 +01:00
Wuzzy 1966d18586 Drop minecart as item if its not on a rail anymore 2019-01-30 03:16:59 +01:00
Wuzzy e42945a4e1 Minecarts: Reset eye offset when detaching player 2019-01-30 02:41:24 +01:00
Wuzzy 5a1cafa5dd Minecarts: Save _railtype in staticdata 2019-01-30 02:04:12 +01:00
Wuzzy b9c197565a Minecarts: Init _railtype on placement 2019-01-30 01:58:26 +01:00
Wuzzy b23b9a9395 Add silverfish sounds (thanks, Inocodum!) 2019-01-28 22:13:35 +01:00
Wuzzy 3bcc2c2693 Make mob knockback weaker 2019-01-28 00:55:41 +01:00
Wuzzy 8f7303d540 Lookup tool opens help page when using it on mobs 2019-01-28 00:04:12 +01:00
Wuzzy 68c373d2b8 Add a couple of modpack.conf files 2019-01-07 00:52:05 +01:00
Wuzzy fa3fd68c8c Turn enderman to monster, but reduce view range 2018-12-22 14:29:45 +01:00
Wuzzy e0fe5b2c66 Disable zombie war_cry sound for now 2018-10-23 17:34:01 +02:00
Wuzzy a88429a78e Fix missing zombie growl 2018-10-23 17:13:22 +02:00
Wuzzy d1fb01c2ff Fix crash if trading with cleric in non-v6 mapgen 2018-10-23 17:03:42 +02:00
Wuzzy 6dbbca4bec Fix mobs_mc_vex_death.ogg being stereo 2018-09-18 21:39:03 +02:00
Wuzzy 92dca4850a Add new cat/ocelot sounds 2018-09-18 21:21:05 +02:00
Wuzzy a3d798ca13 Fix mobs playing damage sound when they healed 2018-09-18 20:08:03 +02:00
Wuzzy 5d6d1cf790 Add bat sound 2018-09-18 19:46:44 +02:00
Wuzzy fd33d9d2ec Add creeper and vex sounds 2018-09-18 16:14:55 +02:00
Wuzzy 8b38a169e6 Add basic horse sounds 2018-09-18 14:49:28 +02:00
Wuzzy e422e47ada Add crazy coo hurt/death sounds 2018-09-14 17:37:24 +02:00
Wuzzy 900625b17b Add ghast shoot/death sound, add many sound TODOs 2018-09-14 16:27:58 +02:00
Wuzzy 7d66d5f2d3 Remove unused arrow code for wither skeleton 2018-09-14 16:08:32 +02:00
Wuzzy 26a5059cc0 Add bow shooting sound when mob fires an arrow 2018-09-14 16:07:22 +02:00
Wuzzy 077cd14f4f Add skeleton sounds 2018-09-14 15:58:31 +02:00
Wuzzy ad2fbb0008 Add some despawning logic (but do not enable despawning yet) 2018-09-14 14:48:48 +02:00
MysticTempest 67ebf3366f Make player sit in minecarts 2018-07-09 23:45:54 +02:00
MysticTempest 5d4b4b099c Fix snowman's head texture 2018-07-09 23:33:32 +02:00
Wuzzy ce04c81482 Fix another crash in mcl_mobs 2018-07-04 01:53:08 +02:00
Wuzzy f7227de6fa Local variable fix in mcl_mobs 2018-07-02 23:34:40 +02:00
Wuzzy 61c5c61e00 Fix crash when using nametag 2018-07-02 23:27:11 +02:00
Wuzzy a88f644001 Update deprecated settings syntax 2018-06-20 19:02:52 +02:00
Wuzzy 2bb8b2c4e2 Fix undeclared global fail in villager.lua 2018-06-11 14:47:41 +02:00
Wuzzy a6bb31f2a6 Fix explo mobs destroy land if mobs_griefing=false 2018-06-10 16:09:28 +02:00
Wuzzy 45add3cedd Add creamy horse texture 2018-06-10 15:51:03 +02:00
Wuzzy e051eae5bc Lightning no longer turns villagers to witches
Because witches are incomplete.
Also add villager TODOs.
2018-06-10 15:27:01 +02:00
Wuzzy a804144ed4 Trading: Make iron helmet cheaper 2018-06-10 15:09:52 +02:00
Wuzzy 9faa3099a4 Trader: Close trade formspec + return items on die 2018-06-10 15:01:44 +02:00
Wuzzy aa3d3969aa Make villager stand still if there is near player 2018-06-10 14:24:00 +02:00
Wuzzy dbed565197 Fix unlock_stuff being always false in villager 2018-06-10 13:53:26 +02:00
Wuzzy 51ff6b1725 Villager: Prevent locking of all trades
This is done by adding an "emergency unlock" which unlocks
everything else when the last trade was locked.
2018-06-10 13:49:35 +02:00
Wuzzy ed52e49408 Heal trader for unlocking trades 2018-06-10 13:20:19 +02:00
Wuzzy 3e8ca5a1ca Trading: Hide left/right button if end of list 2018-06-10 13:06:28 +02:00
Wuzzy cca841e459 Villager trading: Use per-player trading inventory 2018-06-10 12:15:09 +02:00
Wuzzy 9f2460c263 Make red sandstone trade earlier 2018-06-06 21:29:44 +02:00
Wuzzy ce7ac37e85 Add a few v6-exclusive trades to villagers 2018-06-06 21:28:23 +02:00
Wuzzy 5faed5d7f0 Add 2 crosses in trading formspec 2018-06-06 19:50:17 +02:00
Wuzzy 4d4374730e Trading: Allow to sell compass 2018-06-06 19:37:31 +02:00
Wuzzy 3823a6ba11 Add trade locking for villagers 2018-06-06 17:33:14 +02:00
Wuzzy 8b95871682 Implement trading tier unlocking 2018-06-06 16:34:44 +02:00
Wuzzy 1db3b079c6 Add disabled trade image 2018-06-06 14:39:16 +02:00
Wuzzy 2c55daa3e2 Change nitwit villager texture 2018-06-06 14:12:27 +02:00
Wuzzy 829ca1f1c1 Villager profession depends on clothes, add nitwit 2018-06-06 13:55:19 +02:00
Wuzzy f545af54c1 Disable buggy compass trade 2018-06-06 01:08:57 +02:00
Wuzzy 1c0e026259 Villager: Fix taking output sometimes destroy item 2018-06-06 00:45:30 +02:00
Wuzzy 3c4a1013b8 Villager: Prevent taking partial track from output 2018-06-06 00:16:25 +02:00
Wuzzy b504e8c317 Make trader warning less bright 2018-06-04 22:23:46 +02:00
Wuzzy 6e32d23d56 Add warnings and notes about trading implementation 2018-06-04 22:21:10 +02:00
Wuzzy a58a01040d Show villager name in trading formspec 2018-06-04 22:13:24 +02:00
Wuzzy 9bfa116794 Allow to select different trades 2018-06-04 21:46:13 +02:00
Wuzzy e9bcbe1ead Store available trades in villager entity 2018-06-04 21:07:12 +02:00
Wuzzy cc1fe2f14f Fix bread trade 2018-06-04 15:21:59 +02:00
Wuzzy 10e2c174d4 Pick random villager profession on spawn 2018-06-04 14:59:10 +02:00
Wuzzy f1dc75f097 Add lots of random trades for villagers 2018-06-04 14:36:06 +02:00
Wuzzy 7109db24c2 Trading: Reset inventory when closing formspec 2018-06-04 12:50:31 +02:00
Wuzzy a9cf744c0b Disable villager trading again 2018-06-04 01:20:24 +02:00
Wuzzy e5c7e50202 More villager fixing 2018-06-04 01:19:23 +02:00
Wuzzy 883568add4 Implement basic villager trading formspec 2018-06-03 18:37:53 +02:00
Wuzzy 2dbda44a93 Add some global spawn restrictions
- no monsters on mycelium
- nothing on non-opaque blocks, except air
2018-06-03 17:48:32 +02:00
Wuzzy f022b747b0 Harden a number of minetest.after player checks 2018-06-03 16:44:37 +02:00
Wuzzy 2132cdacc5 Improve minetest.after checks 2018-06-03 16:17:55 +02:00
Wuzzy 201c2bf170 Fix minetest.after crashes in mcl_mobs 2018-06-03 16:13:46 +02:00
Wuzzy 9c6f5b3573 Remove dead code in mcl_mobs 2018-06-03 00:56:29 +02:00
Wuzzy 1d04b52b5a Name tag: Update texture conversion and add alias 2018-05-31 18:40:02 +02:00
Wuzzy 34e92a361b Rename mobs mod to mcl_mobs 2018-05-31 18:32:26 +02:00
Wuzzy 4be664ab49 Rebranding of the mobs redo mod 2018-05-31 17:54:35 +02:00
Wuzzy 9afe5da7b4 Make sure bred pig and sheep stay tamed and owned 2018-05-31 17:32:13 +02:00
Wuzzy 2f0987b529 Move mcl_void_damage to ENVIRONMENT 2018-05-31 15:13:16 +02:00
Wuzzy d5729b8a32 Fix load-crash if _magnet_timer of item entity is uninizialized 2018-05-31 14:34:19 +02:00
Wuzzy 73dcf1e697 Randomly mutate foal fur/mark with 1/9 chance each 2018-05-31 14:05:45 +02:00
Wuzzy aeee941b2c Breeding sheep now mixes wool colors like dyes 2018-05-31 05:45:57 +02:00
Wuzzy e246b5d0bb Fix breeding giving weird childs 2018-05-31 04:38:37 +02:00
Wuzzy 97e550bb9f Can't shear lambs 2018-05-31 03:45:38 +02:00
Wuzzy 55beefa6c7 Fix wool regrow for sheep 2018-05-31 03:43:48 +02:00
Wuzzy 91b41885d5 Tweak blaze animation 2018-05-31 03:17:41 +02:00
Wuzzy 4513c6c35d Undead mobs take light damage only in sunlight 2018-05-31 03:09:27 +02:00
Wuzzy b73e05d64a Fix light_damage damaging mobs in rain/snow 2018-05-31 02:47:37 +02:00
Wuzzy eefd065726 New horse texturing (thanks to 22i) 2018-05-30 19:51:40 +02:00
Wuzzy 050987bead Add illagers to Conversion Table 2018-05-30 18:48:07 +02:00
Wuzzy 8b6f5d3dec Redo sheep texturing
Thanks to 22i
2018-05-30 18:05:49 +02:00
Wuzzy c10f4311f7 Update death animations of some mobs 2018-05-30 17:34:38 +02:00
Wuzzy 895d06d28a Update (wither) skeleton mesh and anim (thx 2 22i) 2018-05-30 17:11:07 +02:00
Wuzzy 328eb883ec Redo skeleton stray vex zombiepig meshes/textures
Thanks, 22i!
2018-05-30 16:59:27 +02:00
Wuzzy 6619cf159f New zombie pigman mesh by 22i 2018-05-30 16:41:28 +02:00
Wuzzy 635a9c45bd Enable wolf-on-sheep attack 2018-05-30 16:16:44 +02:00
Wuzzy 76c1c10a9b Tweak snowman animation params 2018-05-30 13:33:19 +02:00
Wuzzy 17b9bd27de Redo snowman texturing (thanks, 22i!) 2018-05-30 13:29:33 +02:00
Wuzzy b2d9c119ac Add mobs:spawn_child 2018-05-30 12:58:50 +02:00
Wuzzy 940b3748fb Fix horse child keeping horse armor of parent 2018-05-30 12:34:16 +02:00
Wuzzy 806e392d31 Fix child of saddled pigs getting saddle, too 2018-05-30 12:25:10 +02:00
Wuzzy d575cf07b7 Kill snow golems in rain 2018-05-30 12:01:53 +02:00
Wuzzy 69b3e19c1b Name tags now name all mobs (except ender dragon) 2018-05-30 11:34:17 +02:00
Wuzzy c1cc790d9d Update Mobs Redo (1.41) 2018-05-29 17:00:30 +02:00
Wuzzy 187e6b7e58 Remove water damage from creeper 2018-05-27 10:41:50 +02:00
Wuzzy 48b7191af2 Regularily damage and delete entities in void 2018-05-25 13:45:41 +02:00
Wuzzy f0b732d7e0 Place boats in the placer direction 2018-05-09 18:43:07 +02:00
Wuzzy 5ca5811bc8 Refactor how the misc creative category works 2018-05-08 15:58:26 +02:00
Wuzzy 83829ec358 Hide a couple of very incomplete items in Creative 2018-05-08 01:40:31 +02:00
Wuzzy 4be5f89829 Move bow/arrow logic into new mod mcl_bows 2018-05-07 23:10:49 +02:00
Wuzzy 9376edeeda Re-add nametags which were removed accidentally 2018-03-31 21:58:52 +02:00
Wuzzy 11be72e635 Disable mob health display 2018-03-31 03:54:55 +02:00
Wuzzy 8060928237 Fix some creeper issues
- Fix fuse sound sometimes not playing
- Timer = 1.5s
- Distance behaviour like in MC
2018-03-31 03:53:11 +02:00
Wuzzy d6228145c6 Fix random mob teleportations once and for all! 2018-03-31 00:21:55 +02:00
Wuzzy 7be5914463 Update Mobs Redo 2018-03-31 00:18:40 +02:00
Wuzzy 318415307c Update mobs_mc 2018-03-25 22:27:06 +02:00
Wuzzy bb6f2f7770 Rename “subgame” to “game” (partial fix) 2018-03-25 22:20:32 +02:00
Wuzzy 1fa141d972 Custom node drops now ignore Creative Mode 2018-03-05 13:35:14 +01:00
Bu-Gee 3ae8119498 Fix crash when pushing pumpkin by piston 2018-03-05 12:53:16 +01:00
Wuzzy 30be3e742f Damage anvil after falling 2018-02-05 19:58:31 +01:00
Wuzzy 32561ec658 Deal anvil falling damage more reliably 2018-02-05 19:20:14 +01:00
Wuzzy e4a1134d4f More anvil smashing fixes 2018-02-05 19:17:16 +01:00
Wuzzy c71bd9588d Generalize anvil damage 2018-02-05 19:03:56 +01:00
Wuzzy 0d4bb1a723 Falling nodes: Workaround for inv crash (MT#7020) 2018-02-05 17:26:36 +01:00
Wuzzy d713cd193c Move falling anvil handling to other mod 2018-02-05 17:18:28 +01:00
Wuzzy 146458112c Renamed spawn eggs spawn mob with name 2018-02-04 07:11:44 +01:00
Wuzzy 6c1a4ec911 Disable mob capture 2018-02-02 22:13:02 +01:00
Wuzzy 300b0545b4 Fix crash in w/ falling nodes 2018-02-02 22:12:45 +01:00
Wuzzy fff0e572aa Don't allow to use empty nametag 2018-02-02 17:35:36 +01:00
Wuzzy 15d7764c65 Require naming of name tag before it's usable 2018-02-02 17:33:52 +01:00
Wuzzy e649f37bc8 Add comment in minecart code 2018-02-02 01:21:19 +01:00
Wuzzy fa10dc93ae Add _on_dispense callback for dispenser; refactor 2018-02-01 22:49:41 +01:00
Wuzzy dfafa6c969 Fix rotation of falling anvils 2018-01-31 19:10:14 +01:00
Wuzzy c22a5cba43 Fix falling nodes falling forever on walls 2018-01-29 03:18:02 +01:00
Wuzzy 58b9c3dbf5 Make creepers run away from cats/ocelots 2018-01-26 18:50:28 +01:00
Wuzzy 0e88453a85 Update Mobs Redo, fix crash 2018-01-26 18:06:45 +01:00
Wuzzy e3cea04f12 Update mobs_mc, properly implement totem 2018-01-25 21:03:58 +01:00
Wuzzy cc32c54d87 Draw full set of activator rail textures 2018-01-25 05:18:35 +01:00
Wuzzy 70ea7d71ad Add setting to disable mob spawning 2018-01-25 04:57:31 +01:00
Wuzzy f7b0702457 Nerf zombie/husk/zvillager drops 2018-01-23 23:13:55 +01:00
Wuzzy 53ca167eb1 Merge branch 'mesecons_updates' 2018-01-22 17:46:38 +01:00
Wuzzy b62075afcb Fix rail rules (kinda) 2018-01-22 17:33:06 +01:00
Wuzzy ca93a0e50f Remove experimental painting completely 2018-01-21 06:32:13 +01:00
Wuzzy e65d7c7ff4 Rename painting item 2018-01-21 06:29:43 +01:00
Wuzzy 8334b68111 Remove gemalde mod 2018-01-21 06:28:19 +01:00
Wuzzy c9ef3f8536 Use default redstone rules for rails again 2018-01-17 21:01:26 +01:00
Wuzzy f612d1b584 Rework core rules of most redstone components 2018-01-13 03:37:41 +01:00
Wuzzy 3980beff1d Fix incorrect node drops of powered rails 2018-01-13 01:39:18 +01:00
Wuzzy a89b9e9c45 Update Mobs Redo 2018-01-08 02:03:31 +01:00
Wuzzy ba0bc7a47d Squids and guardians no longer get stranded all the time 2018-01-07 18:03:03 +01:00
Wuzzy 3cf6656df2 Rename "Monster Spawner" to "Mob Spawner" 2018-01-07 16:58:44 +01:00
Wuzzy cc411efe4c Move mob spawner change code to mobs mod 2018-01-07 16:53:25 +01:00
Wuzzy ff1996c708 Merge branch 'river_water' 2017-12-05 23:01:05 +01:00
Wuzzy e227470474 Fix falling node falling forever on fences (hacky) 2017-12-01 22:22:00 +01:00
Wuzzy 312652552e Delete un-initialized item entities on first step
Due to data corruption, item entities in a world may be loaded with
empty staticdata. These items are now deleted on their first on_step.
This commit also should fix all dropped hand bugs.
2017-12-01 18:50:15 +01:00
Wuzzy 2093a6b5c2 Water mobs now swim in river water 2017-11-30 15:39:19 +01:00
Wuzzy 6d6999bcea Creepers drop all music discs now; remove crafts 2017-11-28 12:45:39 +01:00
Wuzzy f9a2607200 Make falling anvils crush some nodes 2017-11-27 07:57:02 +01:00
Wuzzy c6016c2053 Add MC-like falling nodes 2017-11-26 15:05:45 +01:00
Wuzzy 899acaab0e Hide WIP items from craft guide, more cleanup
- Make fishing rod uncraftable (too overpowered)
- Lift WIP status from golden apple
- Lift Experimental status from lookup tool
2017-11-20 07:52:24 +01:00
Wuzzy a9d95dea23 Use hardware coloring for tallgrass and friends 2017-11-16 03:13:19 +01:00
Wuzzy 74e1a7d326 Take grass block when enderman took dry grass b. 2017-11-15 03:12:31 +01:00
Wuzzy f53cf859c2 Fix mob spawning in savannas 2017-11-15 02:36:56 +01:00
Wuzzy 72f5591400 Add dry-colored grass/fern variants 2017-11-14 23:44:53 +01:00
Wuzzy aaef558909 Convert all sounds (except music) to mono 2017-11-13 01:24:24 +01:00
Wuzzy 1c085b5467 Mobs_mc: Convert mob sounds to mono 2017-11-13 00:46:52 +01:00
Wuzzy 5403a97a56 Fix ocelots being aggressive to players 2017-11-04 00:37:02 +01:00
Wuzzy c2684d0eac Update Mobs Redo to version 1.40 2017-11-04 00:22:43 +01:00
Wuzzy 088bb40908 Update mobs_mc 2017-11-03 22:14:27 +01:00
Wuzzy b66c1268d7 Blaze fireball / fire charge: Take fly dir into account when spawning fire 2017-09-19 17:16:04 +02:00
Wuzzy a4b229e565 Update mobs_mc 2017-09-13 23:13:47 +02:00
Wuzzy 559e3d68bc Simplify item merge code 2017-09-05 19:17:40 +02:00
Wuzzy 861174dc32 (Hopefully) fix hand rarely dropping as item 2017-09-05 17:25:15 +02:00
Wuzzy 44f4db844e Define get_staticdata of minecart 2017-09-05 15:28:04 +02:00
Wuzzy f95bf371d2 Refine hand error logging 2017-09-02 19:00:04 +02:00
Wuzzy ae74eb3b33 Print error message when player picked up hand
This is __builtin:item with itemstring == "" and should never happen
2017-09-02 18:57:37 +02:00
Wuzzy 77ab3ed9d6 Add more detector rail textures 2017-09-02 17:18:48 +02:00