Commit Graph

4311 Commits

Author SHA1 Message Date
Elias Åström 92ab90fd1b Add knockback for mobs 2020-04-19 13:08:36 +02:00
Elias Åström 6315490b14 Update the rest of the blast resistance values
The values have been updated according to this list:

https://minecraft.gamepedia.com/Module:Blast_resistance_values
2020-04-19 13:08:36 +02:00
Elias Åström fd05259202 Make TNT and TNT Minecart use the explosions API
The old api from mcl_tnt is still left in the code, and used by the
mobs.
2020-04-19 13:08:36 +02:00
Elias Åström ca7c8c23c7 Add entity damage and player knockback
Could not find a way to add knockback to entities.  After adding a
velocity to them they will just slide around indefinitely.  Because of
this, knockback is only enabled on players for now.
2020-04-19 13:08:36 +02:00
Elias Åström 77c95fe8c3 Add particles and sounds from explosions 2020-04-19 13:08:36 +02:00
Wuzzy e268370452 Add fire metadata to many nodes (unused for now) 2020-04-18 23:24:42 +02:00
Wuzzy 6a77a54034 Increase z_index values to match new convention 2020-04-17 21:27:45 +02:00
Elias Åström 1d5c11f683 Add mcl_explosions for ray traced explosions
Code has been adapted from the Minetest explosions API mod to have
Minecraft-like explosion mechanics and work with MineClone 2.
2020-04-17 20:47:12 +02:00
Elias Åström 063595ac3c Change blast resistance of nodes in mcl_core
The new blast resistance values are copied from the Minecraft wiki.

https://minecraft.gamepedia.com/Explosion
2020-04-17 20:47:12 +02:00
Wuzzy 3803dba233 Fix invalid portal node names in spawn code 2020-04-16 12:39:18 +02:00
Wuzzy 24ab3e8f84 Fix LBM typos 2020-04-16 12:22:50 +02:00
Wuzzy 1db34821a0 Mobs: Fix crash when mob dies to fall or light dmg 2020-04-12 23:11:18 +02:00
Wuzzy 081366855d Tweak appearance of snowflakes 2020-04-11 04:06:37 +02:00
Wuzzy ab56d592ae Add snow particles on snowball impact 2020-04-11 04:06:24 +02:00
Wuzzy a2785041dd Remove mod startup debug messages 2020-04-11 02:56:46 +02:00
Wuzzy 47cda09073 Implement per-class mob cap 2020-04-11 02:46:03 +02:00
Wuzzy 8e06e4e8b2 Reduce mob_specific mob caps 2020-04-11 01:35:44 +02:00
Wuzzy a33bd015f5 Reduce max_object_per_block default to 64 2020-04-11 01:14:14 +02:00
Wuzzy 0c271a2af9 Randomize initial moon phase 2020-04-08 22:07:05 +02:00
Wuzzy 32ae6b3140 Add moon phases 2020-04-08 21:32:37 +02:00
Wuzzy 88927c8a6b Remove furnace craftguide btn cuz MT weirdness 2020-04-08 17:23:12 +02:00
Wuzzy 5fe8717fca Fix another crash in Mobs mod 2020-04-08 15:03:03 +02:00
Wuzzy 3bd1cded03 Furnace: Fix output slot image being misplaced 2020-04-08 13:29:27 +02:00
Wuzzy d9cff3ef82 Make bark nodes usable as fuel 2020-04-08 13:15:22 +02:00
Wuzzy 20eba63b94 Fix bark stairs+slabs being not flammable 2020-04-08 13:08:33 +02:00
Wuzzy 8664a5c484 Make mobs vulnerable to TNT explosions 2020-04-08 12:41:52 +02:00
Wuzzy 71c9d20fff Use larger wield scale for tools 2020-04-08 04:07:16 +02:00
Wuzzy a1ea41e760 Lava: Don't ignite 2 blocks above if 1 layer above is blocked 2020-04-08 03:17:34 +02:00
Wuzzy 21d5b93baa Remove explicit stepheight from most mobs 2020-04-08 02:35:20 +02:00
Wuzzy 31b367eb83 Fix horse-related crash 2020-04-08 02:29:12 +02:00
Wuzzy f27615d77e Add z_index to HUD elements 2020-04-07 13:03:10 +02:00
Wuzzy 17f611567c Spawn rain and snow particles higher 2020-04-07 02:41:40 +02:00
Wuzzy c9cc3651df Fix bad sky color definitions 2020-04-07 01:51:53 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy b2c75acd68 Use new set_sky API 2020-04-07 00:39:19 +02:00
Wuzzy 28b1d5e8e9 Mobs: Add more nil checks 2020-04-05 21:09:27 +02:00
Wuzzy c9b464f329 Add findbiome mod 2020-04-03 12:51:01 +02:00
Wuzzy b2c8d7cff0 Update biomeinfo to 1.0.3 2020-04-03 12:50:48 +02:00
Wuzzy d8cb7a7164 Add achievement chat command 2020-03-30 21:11:45 +02:00
Wuzzy e81b5ef58a Another nil check in mcl_mobs 2020-03-30 16:52:36 +02:00
Wuzzy 600eadedea Add nil checks when mob is damaged 2020-03-29 23:24:04 +02:00
Wuzzy 6ce3278dd4 Fix missing variable check in hcl_hoppers 2020-03-29 16:05:30 +02:00
Wuzzy 97ab2e7b38 Update wieldview mod (wieldview_transform group) 2020-03-29 14:52:12 +02:00
Wuzzy da1c3f635c Revert "Add dummy inventory images for backwards-compat"
This reverts commit 73d93ae969.
2020-03-29 14:38:39 +02:00
Wuzzy e9f259881f Add LBMs to update to new node formspecs of 0.60.0 2020-03-29 14:35:01 +02:00
Wuzzy ed63374480 Add missing slot images for dispenser+dropper 2020-03-29 14:15:00 +02:00
Wuzzy 73d93ae969 Add dummy inventory images for backwards-compat
In 0.60.0, the inventory rendering of nodes was changed, so images were removed. This caused missing image errors with *existing* node formspecs, however, so empty dummy images are added back.
2020-03-29 14:05:59 +02:00
Wuzzy a98dafb171 Nodeblock: Change snare sound 2020-03-28 07:54:14 +01:00
Wuzzy baa02e19e1 Add many new sounds for noteblock 2020-03-28 07:20:16 +01:00
David McMackins II 882937a1ab Fix bug where adding items to a double chest with shift-click would not complete stacks in the right chest 2020-03-24 20:20:32 +01:00
Wuzzy b56ead7a23 Don't allow to set fire on fire 2020-03-24 19:53:08 +01:00
Wuzzy f5268ea598 Fix walls connecting to too many nodeboxes 2020-03-24 19:31:52 +01:00
Wuzzy 24832c534f Fix crash in horse code 2020-03-24 19:11:25 +01:00
Wuzzy d5111dfb66 Simplify workbench arrow img 2020-03-24 19:08:53 +01:00
Wuzzy 7243a25fe6 Generate item slot images on the fly 2020-03-24 18:48:14 +01:00
Wuzzy 3cf32c38c5 Villager: Make offered/wanted items unclickable 2020-03-19 12:32:30 +01:00
Wuzzy fb9d0f7a7c Mobs: Drop cooked item if died in fire 2020-03-15 09:07:38 +01:00
wuniversales 3772dd51cc Update Spanish translation 2020-03-15 08:32:00 +01:00
Wuzzy 2569eae5d8 Don't make sprint particles in liquids 2020-03-15 08:23:40 +01:00
Wuzzy 73dc0a64b5 Update bed formspec 2020-03-14 21:38:59 +01:00
Wuzzy 5a03ce6dac Remove pointless content ID loading in mcl_hoppers 2020-03-14 07:17:46 +01:00
Wuzzy f0ba364120 Fix crash in mcl_maps 2020-03-12 06:45:23 +01:00
Wuzzy 28b2085492 Bump golden apple hunger points to 20 2020-03-12 02:35:02 +01:00
Wuzzy 6b529e1204 Colorize some item tooltips 2020-03-12 02:29:30 +01:00
Wuzzy 7ee2340f5c Show chat message if using minimap incorrectly 2020-03-12 01:57:14 +01:00
Wuzzy 312b5aeb73 Make carpets flammable 2020-03-12 01:45:24 +01:00
Wuzzy feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +01:00
Wuzzy 03a5519d01 Partial German translation of tooltip extensions 2020-03-11 01:44:23 +01:00
Wuzzy 098bc3c7c7 Fix an inconsistent German translation 2020-03-11 00:57:40 +01:00
Wuzzy 9ef313d0a1 Fix bas variable name in commandblock mod 2020-03-11 00:54:06 +01:00
Wuzzy 8adf6298a7 Update doc mod again 2020-03-10 18:29:28 +01:00
Wuzzy 070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +01:00
Wuzzy 5053dde5f0 Update doc mod 2020-03-10 18:18:27 +01:00
Wuzzy 0fbb252af6 Update doc_items 2020-03-10 18:01:24 +01:00
Wuzzy 242b880c4f Make creative arrows white 2020-03-10 10:22:38 +01:00
Wuzzy 9422989ac6 Redraw Creative trash slot 2020-03-10 07:36:42 +01:00
Wuzzy a845f0313d Tweak craftguide icons to match colorsheme 2020-03-10 07:01:41 +01:00
Wuzzy 6761ebdae5 Fix shading of lower tabs in Creative inv. 2020-03-10 06:38:53 +01:00
Wuzzy 60effa71b4 Inventory: Translate page counter 2020-03-10 06:13:52 +01:00
Wuzzy 1e5f3ee610 Creative: Replace fake slider with page buttons 2020-03-10 06:11:49 +01:00
Wuzzy c6d6a2ce26 Craftguide: Don't display burntime for groups 2020-03-10 05:44:52 +01:00
Wuzzy 81fd3fad40 Fix hopper inventory screen 2020-03-10 05:44:37 +01:00
Wuzzy f85a6b5042 Make some labels dark-gray 2020-03-10 05:34:54 +01:00
Wuzzy 96b30b918c Tweak commandblock button position 2020-03-10 05:17:53 +01:00
Wuzzy 1ea2b09ecb Commandblock: Fix help btn not working if no priv 2020-03-10 05:15:32 +01:00
Wuzzy 3bcb868f8b Remove unused awards images 2020-03-10 05:10:48 +01:00
Wuzzy 03ad3cca29 Major default formspec style update
- Uses formspec_prepend to set e.g. button style
- Make all formspecs use the MCL2 style consistently
2020-03-10 05:01:49 +01:00
Wuzzy 0e867e5247 Fix creative tab styling for future MT 5.2.0 2020-03-10 00:15:54 +01:00
Wuzzy 4deb6eec20 Extra tooltips for mcl_chests 2020-03-08 08:50:21 +01:00
Wuzzy 2554c6d597 Display weapon damage in tooltip 2020-03-08 03:46:24 +01:00
Wuzzy cbda2ef326 Add _tt_help to many more items 2020-03-08 03:30:40 +01:00
Wuzzy 4cb5b26fa9 Fix crash in mcl_mobs 2020-02-25 16:09:26 +01:00
Wuzzy 98e87fd5db mcl_attached: Check if dir is nil 2020-02-23 20:37:42 +01:00
Wuzzy a375548992 Heal horses differently depending on food 2020-02-23 17:13:52 +01:00
wuniversales f93d3a897e Update Spanish translation 2020-02-23 16:26:21 +01:00
Wuzzy fbd5374085 Don't drip water+lava thru glass 2020-02-23 16:17:04 +01:00
Wuzzy 401382106f Fix crash when riding player leaves 2020-02-22 20:47:25 +01:00
Wuzzy 4ece91fde4 Make squids larger 2020-02-19 22:28:18 +01:00
Wuzzy 4926f8d443 Mobs: Respect fall_damage_add_percent 2020-02-19 17:24:35 +01:00
Wuzzy 6096b8dd9a Fix translation placeholder in mcl_hunger 2020-02-19 17:07:42 +01:00