0
0
Fork 0
Commit Graph

4669 Commits

Author SHA1 Message Date
Elias Åström 2e79f1f0ed Check if there is room for tree to grow
Previously tree saplings would grow regardless of the blocks above it.
This could be abused to destroy bedrock and other nodes.

To solve this, checks are added for nodes around the trees.  The volume
checked depends on the tree type.  The volume for each tree has been set
so reject trees where branches would grow into other nodes.  Some nodes
types like torches, plants and wood are ignored in the checks.

Saplings in a 2x2 formation will grow into normal trees if there is no
room for a huge tree.  Oak trees has separate checks for balloon oak
trees and normal oak trees, if there is no room for a balloon oak, it
becomes a normal oak tree.
2020-05-23 19:37:02 +02:00
Wuzzy d2cacf285d Paintings: Tweak selectionboxes 2020-05-21 04:45:54 +02:00
Wuzzy 3bd160f414 Check protection when placing painting 2020-05-21 04:22:10 +02:00
Wuzzy f0d511bd4a Paintings: Move closer to wall 2020-05-21 02:16:12 +02:00
Wuzzy 95b3b4a172 Add empty smoke_puff.png 2020-05-21 01:54:55 +02:00
Wuzzy bfd2f0ebc7 Add paintings 2020-05-21 01:51:52 +02:00
Wuzzy d1d7c026e1 Buckets are no longer liquids_pointable 2020-05-20 21:59:37 +02:00
bzoss 228fc4b6ea Updated node to add bottles. TODO: Update node for bottle placement. 2020-05-19 17:31:07 -04:00
bzoss 572b43e93c Updated brewing stand node -- needs work. 2020-05-16 19:15:34 -04:00
bzoss 971e666d3e Initial commit to brewing formspec. 2020-05-16 18:22:09 -04:00
Wuzzy 7cfef25dfe Fix undeclared global in mcl_minecarts 2020-05-16 20:13:22 +02:00
Wuzzy 547080bd98 Add a delay before mobs start to suffocate 2020-05-13 22:15:46 +02:00
MysticTempest a20637f68c Fix redstone dust climbing up doors, and fix redstone dust not turning off when redstone torch is destroyed through the destruction of an attached block 2020-05-13 21:11:17 +02:00
Wuzzy 1a0e979b0c Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
Wuzzy 26b5b45595 Fix crash when creeper explodes 2020-05-10 14:54:43 +02:00
Wuzzy c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Wuzzy 728db50baf Fire doesn't destroy flammable=-1 nodes 2020-05-09 18:55:50 +02:00
Wuzzy 621946546b Ignite TNT by fire 2020-05-09 18:52:03 +02:00
Wuzzy ffcad31871 Update falling nodes when fire replaces a block 2020-05-09 17:53:32 +02:00
Wuzzy bfb1e3e447 Add age to of fire to greatly limit fire spread 2020-05-09 17:44:23 +02:00
Wuzzy d13498e6f9 Rain now also extinguishes neighbor tiles 2020-05-09 16:03:07 +02:00
Wuzzy 0c96e512d7 Remove bogus saddle recipe 2020-05-09 00:40:54 +02:00
Wuzzy 5108f398bb Fix all explosions spawning fire 2020-05-08 18:04:04 +02:00
Wuzzy 2ec66fc61b Fix leaking global in mcl_explosions 2020-05-08 18:01:33 +02:00
Wuzzy aeb7a6cb8b Disable guardian spawning 2020-05-08 17:44:27 +02:00
Wuzzy 131051b1df Fix code typo in mcl_playerplus 2020-05-08 17:41:09 +02:00
Alexander Minges ad70a71f8c Fix crash when triggering explosion (type check error) 2020-05-08 17:31:41 +02:00
Wuzzy fb55d33bfe Fix villager crash when trading w/o inited inv 2020-05-08 17:27:22 +02:00
Wuzzy 94c4256451 Fix crash when standing on unknown node 2020-05-08 17:23:39 +02:00
Rocher Laurent e058ee8487 Fix some template.txt 2020-05-05 21:02:48 +02:00
Rocher Laurent c9a37d0dbc Translate In French 2020-05-05 21:02:21 +02:00
Wuzzy 2b4a4f8c60 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-05-05 02:11:52 +02:00
Rocher Laurent 4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Alexander Minges beace10136 prevent water mobs to classify solid blocks below them as dangerous 2020-05-03 17:43:44 +02:00
Wuzzy 02b2ff7460 Fix mcl_weather crash 2020-05-02 19:08:55 +02:00
Wuzzy bc740efafe Add fire explosions 2020-05-02 19:05:56 +02:00
Wuzzy 00acbf8a2a Remove unused TNT functions 2020-05-02 18:51:59 +02:00
Wuzzy 56d484f69b Make mobs and bed use mcl_explosions 2020-05-02 18:50:25 +02:00
Wuzzy 6a576c50a0 Add puncher to tnt_explosions 2020-05-02 18:24:53 +02:00
Wuzzy d4bc7a2f88 Add back the explosion death msg 2020-05-02 18:09:25 +02:00
Wuzzy 7fa8828bd5 Explosions: Use minetest.get_position_from_hash 2020-04-30 21:13:10 +02:00
Wuzzy 026d406d4b Fix indents in mcl_explosions 2020-04-30 21:12:30 +02:00
Wuzzy 679e2b1b70 Explosions: Reduce repeated code 2020-04-30 21:08:42 +02:00
Wuzzy 772ea01aff Explosions: Fix syntax error 2020-04-30 21:00:13 +02:00
Wuzzy 2b5ddbd62d Explosions: Change item drop handler 2020-04-30 20:58:58 +02:00
Wuzzy 9ee0ef5a8d Explosions: Replace some API calls 2020-04-30 20:57:38 +02:00
Wuzzy 58458b2bca mcl_explosions: Rename description.txt 2020-04-30 20:55:49 +02:00
Wuzzy 3087621b11 Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
Wuzzy ef20ac54c3 Fix crash when fueling furnace minecart 2020-04-30 18:13:05 +02:00
Wuzzy eea07f0ce7 Fix incomplete dry grass replacement LBM 2020-04-27 14:05:09 +02:00
Wuzzy 98988b1636 Fix creative search not take transl. into account 2020-04-25 14:31:01 +02:00
Wuzzy c81a18ac1a Refactor mcl_void_damage 2020-04-22 01:38:41 +02:00
Wuzzy 0929ce4f20 Remove fire below air 2020-04-22 01:31:30 +02:00
Elias Åström a10dff8421 Use walkable for entity exposure
This makes TNT do full damage under water.
2020-04-19 13:08:36 +02:00
Elias Åström a62a75c799 Do not drop items in creative mode
It works like this in Minecraft.  This will also reduce lag when playing
with TNT in creative.
2020-04-19 13:08:36 +02:00
Elias Åström 64c767ad8c Make TNT behave like Minecraft
TNT entities are now knocked back by explosions.  When a TNT block
becomes triggered by an explosion, its fuse time is set to a random
value between 0.5 and 1.5 seconds.
2020-04-19 13:08:36 +02:00
Elias Åström b4ea2afe77 Add tnt_knockback flag for entities
When set to true, entities will be knocked back when affected by TNT
explosions.  Also ignore '__builtin:item' entities to reduce lag, and
replace tabs with spaces in 'mcl_explosions/init.lua'.
2020-04-19 13:08:36 +02:00
Elias Åström cdea2eeabf Change mcl_mobs to enable knockback in y direction 2020-04-19 13:08:36 +02:00
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
Wuzzy 589b750d0a Add tool wear for punching mobs 2020-02-19 16:47:57 +01:00
Wuzzy e4fb7ae533 Add punch_attack_uses to weapons 2020-02-19 15:53:51 +01:00
Wuzzy ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
Wuzzy 71cee9920a Heads: Add back armor def fields 2020-02-19 03:02:45 +01:00
Wuzzy 604e1c4d19 Link eating sound back to object again 2020-02-18 23:53:33 +01:00
Wuzzy 3118673116 Play sound for equipping horse armor or saddle 2020-02-18 23:49:35 +01:00
Wuzzy 565806558c Play armor equip sound when armor got dispensed 2020-02-18 22:33:58 +01:00
Wuzzy 6426e55746 Add on_secondary_use for heads and pumpkin 2020-02-18 22:17:52 +01:00
Wuzzy d88fa0c438 Can equip/swap armor with rightclick 2020-02-18 22:05:08 +01:00
Wuzzy 329452d5ce Don't show armor bar for 0 armor 2020-02-18 20:10:35 +01:00
Wuzzy 5729d70814 Add secondary rotation for heads 2020-02-18 20:04:15 +01:00
Wuzzy bfc5670f09 Can place heads at walls 2020-02-18 19:51:10 +01:00
Wuzzy 012dd0b86a Add wallmounted heads 2020-02-18 19:33:14 +01:00
Wuzzy 7ba3616c77 mcl_heads: Clean up whitespace 2020-02-18 18:13:45 +01:00
Wuzzy 460e7c0c67 3 mob heads reduce mob detection range 2020-02-18 18:12:51 +01:00
Wuzzy 364a4152ac Change fallback armor (un)equip sounds 2020-02-18 16:36:22 +01:00
Wuzzy 89afec17b1 Armor stand: Remove legacy entity 2020-02-18 16:13:37 +01:00
Wuzzy a52976a918 Rename 3d_armor_stand to mcl_armor_stand 2020-02-18 16:10:50 +01:00
Wuzzy ab4e46f97b Move armor mods 2020-02-18 15:48:21 +01:00
Wuzzy fb251db925 Rename mod: 3d_armor → mcl_armor 2020-02-18 15:44:54 +01:00
Wuzzy edab0be8f5 Play armor (un-)equip sounds on armor stand 2020-02-18 14:51:15 +01:00
Wuzzy ef077fed72 Add armor equip/unequip sounds 2020-02-18 07:33:08 +01:00
Wuzzy f700463c4f Increase FOV to 86.1 2020-02-17 21:49:23 +01:00
Wuzzy ae7615c557 Move armor factoid to nil group 2020-02-17 20:58:29 +01:00
Wuzzy 97d293f8b4 Add armor factoid 2020-02-17 20:53:31 +01:00
Wuzzy 33acd2327f Remove unused and dead code in 3d_armor mod 2020-02-17 20:41:58 +01:00
Wuzzy bef99ac211 Rename mod: hbarmor → mcl_hbarmor 2020-02-17 20:24:26 +01:00
Wuzzy e3b68c4364 Display armor points properly 2020-02-17 20:19:07 +01:00
Wuzzy 2e6610da42 Overhaul armor protection formula 2020-02-17 19:55:02 +01:00
Wuzzy 988ca6ffe7 Interpret many damage sources as punches 2020-02-17 18:37:23 +01:00
Wuzzy dcc14d1f3f Implement MC's armor durability 2020-02-17 18:19:36 +01:00
Wuzzy 023f70ee1c Remove more uses of 3d_armor_trans.png 2020-02-17 17:46:25 +01:00
Wuzzy 81ca7469d7 TNT explosions deal punch damage 2020-02-17 17:44:38 +01:00
Wuzzy 004013c3a4 Remove 3d_armor_trans.png 2020-02-17 17:31:39 +01:00
Wuzzy 113a49da41 Armor: remove "wear" value from registrations 2020-02-17 17:26:06 +01:00
Wuzzy 9499076ac8 Don't show message when armor got destroyed 2020-02-17 17:11:04 +01:00
Wuzzy 641921f4c7 Add tool stats in help 2020-02-17 16:19:17 +01:00
Wuzzy e6133ac670 Fix TNT minecart igniting 2020-02-14 21:09:36 +01:00
Wuzzy f4a06d6217 Remove TNT node after explode 2020-02-05 12:45:29 +01:00
Wuzzy bed0849bb0 Add setting: mcl_tnt_griefing 2020-02-05 03:11:32 +01:00
Wuzzy 2ef5f0232d Update minecart German translation 2020-02-05 03:11:07 +01:00
Wuzzy 377bf31c5d Fix crash when killing player with dispenser arrow 2020-02-05 02:40:07 +01:00
Wuzzy 3836f1b7e9 Update hudbars mod to 2.1.0 2020-02-04 22:06:31 +01:00
wuniversales 15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy 04c8a08cc4 Ignite tnt minecart by fire charge 2020-01-30 23:11:16 +01:00
Wuzzy 9f344b4307 Detach minecart driver if over activator rail 2020-01-30 22:45:29 +01:00
Wuzzy 1d2da1f01a TNT minecart and activator rail no longer WIP 2020-01-30 22:31:44 +01:00
Wuzzy 9dc9c12f29 Implement TNT minecart 2020-01-30 22:05:18 +01:00
Wuzzy 74b79d130b Add basic implementation of furnace minecart 2020-01-30 20:38:31 +01:00
Wuzzy d923f71c92 Teach mobs how to not walk into danger ... kinda 2020-01-30 18:04:50 +01:00
Wuzzy 61e148ac2e Fix mobs able to swim in plants 2020-01-30 17:05:39 +01:00
Wuzzy 834c8cbc3a Disable jump in cobweb 2020-01-30 16:36:28 +01:00
Wuzzy fcf46b3423 Remove legacy stuff in mcl_mobs 2020-01-30 16:17:29 +01:00
Wuzzy c234b273ad Introduce snowball_vulnerable armor group 2020-01-30 16:14:13 +01:00
Wuzzy be04de084b Mobs: Utilize pathfinder jumpheight properly 2020-01-30 01:36:08 +01:00
Wuzzy 8be35bae53 Make mcl_worlds dependency in mcl_mobs optional 2020-01-30 01:11:02 +01:00
Wuzzy bddb8f1136 Remove some outdated dependencies in mcl_mobs 2020-01-30 01:05:31 +01:00
Wuzzy d38e0a0b00 Remove unused jump_chance attribute from mobs 2020-01-30 00:03:53 +01:00
Wuzzy f7fb83891a Mobs: Replace name-based fence/wall check 2020-01-29 23:37:16 +01:00
Wuzzy 9326a76973 Fix mobs walking into water too often 2020-01-29 23:11:20 +01:00
Wuzzy fff1949804 Make arrows only deal damage with free lineofsight 2020-01-20 19:48:08 +01:00
Wuzzy 3788b66b47 Clean up some luacheck warnings in mcl_mobs 2020-01-20 16:08:59 +01:00
Wuzzy bc7b86b61a Fix incorrect liquid backface culling 2020-01-19 22:56:37 +01:00
Wuzzy 73e8ee8a68 Fix undeclared global warning in mcl_craftguide 2020-01-18 04:48:07 +01:00
Wuzzy 3dcd986863 Fix shulker box recolor craft erasing contents 2020-01-18 04:46:41 +01:00
Wuzzy 87ac0c952c Mobs: Reset texture mods on activation 2020-01-06 17:28:08 +01:00
Wuzzy e569885fab End portal frame: Bulk set nodes 2020-01-06 16:51:40 +01:00
Wuzzy 9b8d6c4cec Destroy end portal when surrounding bedrock goes 2020-01-06 16:49:22 +01:00
aldum 82f851e20d Add theoretical support for larger nether portals 2020-01-06 15:11:29 +01:00
Wuzzy 0ae2c5b25f Mention mob glitch workaround 2020-01-06 14:49:44 +01:00
Wuzzy 1210d8c9a7 Workaround for mobs glitching through walls
Thanks, MysticTempest!
2020-01-06 14:46:10 +01:00
Wuzzy 7a870d0ead Message when trying to spawn forbidden hostile mob 2020-01-06 13:46:43 +01:00
Wuzzy f2b7392a30 Use "minetest" instead of "core" table 2020-01-06 13:02:30 +01:00
Wuzzy 05152589fa Fix crash in awards mod 2020-01-06 11:24:28 +01:00
Wuzzy 01eb39b62f Remove awd and awpl commands 2020-01-06 11:20:14 +01:00
Wuzzy 1fc2ba6879 Craftguide: Show recipes hidden in creative inv. 2020-01-05 21:49:41 +01:00
Wuzzy 90298821a3 Remove mob aliases 2020-01-05 10:49:04 +01:00
Wuzzy 8c0bea7dad Implement drops of sea pickles 2019-12-27 15:32:09 +01:00
Wuzzy b77307b7ac Add sea pickles 2019-12-27 15:24:59 +01:00
Wuzzy 5d8c068749 Translate mcl_ocean 2019-12-26 12:12:21 +01:00
Wuzzy 625730e040 Translate slippery help 2019-12-26 11:42:14 +01:00
Wuzzy d29c4bb795 Fix 2 undeclared global warnings in mapgen core 2019-12-22 20:22:19 +01:00
Wuzzy a03cc0604e End rods no longer fall 2019-12-22 18:08:45 +01:00
Wuzzy bbc5f2a0d9 Use sand and gravel for ocean floors 2019-12-22 01:22:05 +01:00
Wuzzy 9fdbb35f24 Look upwards when sleeping 2019-12-19 18:48:27 +01:00
Wuzzy 87449b5719 Make ice texture opaque by default
Because of glitchy translucency in Minetest
2019-12-19 17:55:43 +01:00
Wuzzy ab038ddd60 Increase drops of guardians 2019-12-18 21:55:22 +01:00
Wuzzy 305145ca1c Tweak oceangen 2019-12-18 21:04:07 +01:00
Wuzzy b7406ed3d5 Generate sponges in deep oceans in non-v6 mgs 2019-12-18 20:55:20 +01:00
Wuzzy f74a502979 Generate sponges in v6 2019-12-18 20:39:14 +01:00
Wuzzy 8b6dc30943 Generate kelp/seagrass in v6 2019-12-18 19:15:21 +01:00
Wuzzy e0e73b8ee8 Add basic seagrass/kelp mapgen 2019-12-18 18:42:04 +01:00
Wuzzy 85c058125c Add kelp growth 2019-12-18 15:06:35 +01:00
Wuzzy 286009cbd7 Can place kelp on kelp 2019-12-18 13:37:20 +01:00
Wuzzy 3658cfc0f1 Add help texts for the new ocean plants 2019-12-18 12:43:17 +01:00
Wuzzy ee5e50f139 Remove clay variant for kelp and seagrass 2019-12-18 04:28:47 +01:00
Wuzzy d1f3856de8 Implement help page for seagrass 2019-12-18 03:42:18 +01:00
Wuzzy 2e9efe51e8 Tweak drop behavior of ocean plants 2019-12-18 03:10:49 +01:00
Wuzzy 40e681a566 Add kelp and related items 2019-12-17 22:43:46 +01:00
Wuzzy 5c953b1dc0 Add more node sounds for ocean plants 2019-12-17 21:43:30 +01:00
Wuzzy b81396c03f Add falling node variants of seagrass 2019-12-17 21:24:57 +01:00
Wuzzy 40a55729ca Add seagrass on clay 2019-12-17 20:39:58 +01:00
Wuzzy 09c1f44a65 mcl_ocean: Add mcl_core depends 2019-12-17 20:27:26 +01:00
Wuzzy 5c70296e8f Fix seagrass selectionbox 2019-12-17 20:25:35 +01:00
Wuzzy a714751f8b Add seagrass on dirt 2019-12-17 19:52:19 +01:00
Wuzzy 4dcbe75e84 Allow corals placement on top of node only 2019-12-17 19:51:50 +01:00
Wuzzy cf1df56b79 Make corals dead when not near water 2019-12-17 18:40:10 +01:00
Wuzzy 8b3ecb9321 Refactor mcl_ocean 2019-12-17 17:18:10 +01:00
Wuzzy 1e3cfb6040 Add coral selection boxes 2019-12-17 17:12:21 +01:00
Wuzzy e8614d7b27 Fix a purely theoretical coral crash 2019-12-17 16:58:40 +01:00
Wuzzy c7aaf49e22 Tweak coral sounds and placement 2019-12-17 16:50:32 +01:00
Wuzzy 39670e1f79 Add corals 2019-12-17 16:42:25 +01:00
Wuzzy 085e6f306a Use fallback grass color for unknown values 2019-12-17 02:01:34 +01:00
Wuzzy bab4529e4d Fix armor mod deleting player's immortal group 2019-12-17 01:44:11 +01:00
Wuzzy a5b4a261dc Dry grass replacement: Use fallback param2 2019-12-16 23:59:49 +01:00
Wuzzy 5b956c1c47 Disallow cocoa screwdriver rotation 2019-12-15 00:27:23 +01:00
Wuzzy 862e3141d9 Add API documentation for screwdriver mod 2019-12-14 23:50:17 +01:00
Wuzzy 92ef7c3b9a Simplify rotation of pillar-like nodes 2019-12-14 23:42:17 +01:00
Wuzzy 44c95084ab Simplify lilypad rotation 2019-12-14 22:13:54 +01:00
Wuzzy 101c9b7322 Use minetest.LIGHT_MAX 2019-12-14 18:57:17 +01:00
Wuzzy f4888a42a9 Add glow to falling light source nodes 2019-12-14 18:56:59 +01:00
Wuzzy 7f70acc8a4 Make dropped items glow if light source node 2019-12-14 17:40:24 +01:00
Wuzzy 41d7e513e7 Make variable local 2019-12-14 03:38:00 +01:00
Wuzzy 741b32e8d0 Tweak grass palette 2019-12-14 03:10:16 +01:00
Wuzzy aaedf6517a Update grass block param2 when placing snow nodes 2019-12-14 01:52:01 +01:00
Wuzzy 5f2cc506f0 Fix broken legacy dry grass LBM 2019-12-14 01:41:49 +01:00
Wuzzy affb984c56 Fix mapgen crash if there's unknown nodes 2019-12-14 01:30:21 +01:00
Wuzzy b3829eaf9b Fix tallgrass/fern placement color 2019-12-14 01:15:37 +01:00
Wuzzy c90f693c06 Smoother dirt texture from PP 2019-12-14 01:03:44 +01:00
Wuzzy c149f5ca3c Update PP grass textures 2019-12-14 00:45:57 +01:00
Wuzzy 40453d597b Add LBM to kill old drygrass nodes 2019-12-14 00:03:43 +01:00
Wuzzy 3e3ed630e5 Add per-biome grass coloring 2019-12-13 23:48:13 +01:00
Wuzzy 01288eff62 Enderman no longer pickup dirt-with-grass directly 2019-12-13 15:46:01 +01:00
Wuzzy 9dfe584cd1 Remove dirt with dry grass node from mobs_mc 2019-12-13 15:36:20 +01:00
Wuzzy 62096c723a Generate new grass color 2019-12-13 15:33:13 +01:00
Wuzzy 6002cd0af5 Fix tallgrass, fern, bonemeal for new grass color 2019-12-13 15:32:57 +01:00
Wuzzy 9c55b6c9c9 Update grass color after placing grass block 2019-12-13 14:18:35 +01:00
Wuzzy 325801efd7 First step towards param2-based grass color 2019-12-13 14:03:12 +01:00
Wuzzy 8e224d0bd9 Change screwdriver image to PP style 2019-12-13 11:51:13 +01:00
Wuzzy 4a7bb86803 Fix odd redstone torch on wall placement 2019-12-13 11:35:31 +01:00
Wuzzy cfa77288c1 Add screwdriver support to doors 2019-12-13 10:59:30 +01:00
Wuzzy d21e959055 Disallow torch placement on hopper 2019-12-13 10:22:38 +01:00
Wuzzy b5133c0c4a Allow torch placement on more nodes 2019-12-13 10:20:22 +01:00
Wuzzy 1a02ccd36f Add more node groups 2019-12-13 10:20:08 +01:00
Wuzzy 7df94278cf Disallow all torch rotation by screwdriver 2019-12-13 09:47:27 +01:00
Wuzzy 2393c68448 Fix torch screwdriver rotation 2019-12-13 09:41:38 +01:00
Wuzzy ec50b19fa0 Tweak screwdriver img 2019-12-13 08:56:23 +01:00
Wuzzy 5b4f33c8f1 Add dummy support for placing carpets on llamas 2019-12-11 20:03:11 +01:00
Wuzzy 506e039fc5 Add unicolor groups to wool and carpet 2019-12-11 19:54:58 +01:00
Wuzzy febcb96bb0 Hide screwdriver 2019-12-11 04:53:01 +01:00
Wuzzy 231493cb1b Merge branch 'screwdriver' 2019-12-11 04:47:53 +01:00
Wuzzy 2e09febaae Rename Moss Stone to Mossy Cobblestone 2019-12-11 04:24:32 +01:00
Wuzzy f91619cae1 New PP cobblestone and brick block textures 2019-12-11 04:17:38 +01:00
Wuzzy 753acdf272 Update sand, sandstone, TNT, iron nugget textures 2019-12-11 03:37:53 +01:00
Wuzzy a177d3cbba More saturated grass color 2019-12-11 02:02:16 +01:00
Wuzzy 0d3b8e11c3 Hide WIP mobs in creative inventory 2019-12-11 00:46:55 +01:00
Wuzzy 2ff5bafd91 Refactor mob projectiles 2019-12-10 01:01:04 +01:00
Wuzzy 046f9ab223 Make blaze attacks a bit better 2019-12-10 00:16:09 +01:00
Wuzzy e85c999e4c Fix typo in mcl_banners mod 2019-12-09 22:34:56 +01:00
Wuzzy e09a72ed59 Tweak item appearance of internal items 2019-12-09 22:32:40 +01:00
Wuzzy 47f7b21190 Add missing translation for some redstone nodes 2019-12-09 22:02:35 +01:00
Wuzzy f04170d66b Piston heads no longer drop themselves 2019-12-09 21:25:27 +01:00
Wuzzy 28505885f2 Add on_blast handling to chorus plant 2019-12-09 21:06:17 +01:00
Wuzzy a1ab325920 Add on_blast support 2019-12-09 21:06:08 +01:00
ZedekThePD b71cf5e9c2 Boost performance of chorus plant digging 2019-12-09 20:44:55 +01:00
Wuzzy 4e08e978f5 Add screwdriver support for armor stand 2019-12-09 19:41:10 +01:00
Wuzzy 31fbe97e4e Allow axis rotation of trapdoors 2019-12-09 19:28:08 +01:00
Wuzzy 26ac17f1ad Can flip slabs with screwdriver 2019-12-09 19:12:28 +01:00
Wuzzy da47d7917c Disable rotation of corner stairs 2019-12-09 19:06:18 +01:00
Wuzzy ad13c71bf1 Add partial rotation of levers 2019-12-09 18:49:59 +01:00
Wuzzy 33ef45245c Fix incorrect return value of piston on_rotate 2019-12-09 18:34:40 +01:00
Wuzzy 2528463db6 Remove reverse sign rotation 2019-12-09 18:28:31 +01:00
Wuzzy 643b1e7933 Implement banner rotation with screwdriver 2019-12-09 18:27:30 +01:00
Wuzzy bbcab7275e Make ladders rotatable 2019-12-09 17:51:35 +01:00
Wuzzy d25922b325 Implement sign rotation 2019-12-09 17:46:55 +01:00
Wuzzy f218180eaa Disable rotation of torches and signs 2019-12-09 17:03:11 +01:00
Wuzzy d502ac3bec Add screwdriver support for itemframes 2019-12-09 16:44:10 +01:00
Wuzzy 644187e204 Add secondary screwdriver support for stairs 2019-12-09 16:27:11 +01:00
Wuzzy 5fd746710f Add rotation support for pistons 2019-12-09 16:08:24 +01:00
Wuzzy eeac1435f9 Update screwdriver mod for MT 5.0.0 2019-12-09 15:14:16 +01:00
Wuzzy 3de818d2c2 Merge branch 'master' into screwdriver 2019-12-09 15:09:49 +01:00
Wuzzy 5868790b4f Tweak parrot colors 2019-12-09 12:35:24 +01:00
Wuzzy 1e354f63c0 Add chick sounds 2019-12-09 12:18:26 +01:00
Wuzzy 1c7e350095 Add snowball and egg impact sounds 2019-12-09 11:52:19 +01:00
Wuzzy 9e31c2b62b Snow golems use mcl_throwing snowball 2019-12-09 11:03:48 +01:00
Wuzzy e2fb3a562d Add some arrow-related death messages 2019-12-09 10:11:15 +01:00
Wuzzy 84ff24f8ed Tweak mob shooting behaviour 2019-12-09 09:56:38 +01:00
Wuzzy 8a2e6d434d Mobs now shoot mcl_bows:arrow_entity 2019-12-09 09:29:19 +01:00
Wuzzy 7471836c2d Fix side hopper not collecting non-fuel items 2019-12-09 08:51:25 +01:00
Wuzzy 7175ffb975 Add workaround for broken eat sound 2019-12-09 08:36:34 +01:00
Jared Moody 89ba84a456 Fixes #583 - Eating chorus plant restores 4 HP 2019-12-09 08:24:38 +01:00
Wuzzy 5f1973aecd Mobs: Refactor distance calculation 2019-12-08 18:48:49 +01:00
Wuzzy f6f259dce0 Add some sanity checks to fishing bobber 2019-11-19 01:19:47 +01:00
Wuzzy 55171a12c6 Make dogs accept food
Thanks, emanresu!
2019-10-25 00:56:31 +02:00
Wuzzy 219b2464a1 Give llamas an appetite for hay bales 2019-10-25 00:47:30 +02:00
Wuzzy c9b642a706 Remove unused file in mcl_dispensers 2019-10-16 08:35:15 +02:00
Wuzzy 7b24ede582 Remove a couple of FIXMEs and legacy 2019-10-16 08:33:22 +02:00
Wuzzy 6d5bfacb8c Make mob_difficulty no longer experimental 2019-10-03 12:25:28 +02:00
Wuzzy c6903b48f1 Fix mobs spawn with 0 health if mob_difficulty=0 2019-10-03 12:19:54 +02:00
Wuzzy 0e733f1677 Fix outdated mob settings help 2019-10-03 12:17:45 +02:00
Wuzzy 5ed278717f Rename dmg particle setting 2019-10-03 12:05:30 +02:00
Wuzzy 8b9ac5c6a6 Remove custom damage particles 2019-10-03 12:03:36 +02:00
Wuzzy d9424ad82e Make dmg particles proportional to dmg 2019-10-03 11:53:26 +02:00
Wuzzy 5bd19c03f6 Wither no longer floats in water 2019-10-03 00:00:25 +02:00
Wuzzy 3322366457 Enable igloo basements with 50% chance 2019-10-02 22:38:35 +02:00
Wuzzy 5198f5cdec More igloo basement placement tweaks 2019-10-02 22:29:25 +02:00
Wuzzy da149d5a58 Apply more checks in igloo basement generation 2019-10-02 22:06:26 +02:00
Wuzzy b3e1df7e9b Round pos in spawnstruct chatcommand 2019-10-02 21:18:29 +02:00
Wuzzy 4a7aaa9024 Increase boat speed on land 2019-10-02 20:54:06 +02:00
Wuzzy a9ed14c4af Fix boats moving too fast backwards 2019-10-02 20:51:02 +02:00
Wuzzy 041839fd1a Update falling node when anvil got destroyed 2019-10-02 19:06:55 +02:00
Wuzzy 200cbf033a Set walk chance of agent mob to 0 2019-10-02 18:58:29 +02:00
Wuzzy aae360db4c Remove spawn icon for unused agent mob 2019-10-02 18:57:06 +02:00
Wuzzy f9e46b914d Mobs: Separate fire damage from lava damage 2019-10-02 18:45:28 +02:00
Wuzzy b71c9204ec Update drowning settings in mobs_mc 2019-10-02 18:31:16 +02:00
Wuzzy 14d4bec8a9 Implement proper drowning for mobs 2019-10-02 18:28:28 +02:00
Wuzzy d9d1e5c08c Fix crash in mcl_fishing 2019-09-27 12:09:03 +02:00
Wuzzy 21317aa7c7 Fix eating/drinking sounds to user 2019-09-24 18:18:40 +02:00
Wuzzy dfe68e6820 Simplify meshhand error handling 2019-09-19 12:31:50 +02:00
Wuzzy 67f33c9256 Prevent constructing arrow boxes 2019-09-19 12:27:27 +02:00
Wuzzy 1aac4713a4 Simplify mcl_meshhand code 2019-09-19 12:20:31 +02:00
Wuzzy e64ef6e254 Prevent placement of meshhand nodes 2019-09-19 12:09:09 +02:00
Wuzzy 748b5d4a4b Localize a variable 2019-09-19 00:35:28 +02:00
Wuzzy 76ed6ff826 MGV6: Generate witch huts only in Normal biome 2019-09-11 16:06:41 +02:00
Wuzzy a8a875a7b4 Add biomeinfo mod 2019-09-11 16:06:34 +02:00
Wuzzy 31ae28e66e Add fishing rod in mob mods 2019-09-11 14:07:15 +02:00
Wuzzy 25e2bd106f Re-enable cookFish achievement 2019-09-11 13:56:52 +02:00
Wuzzy 30a954b874 Increase max. speed of boats 2019-09-11 13:33:31 +02:00
Wuzzy e633f15eed Fix boat behavior a bit when falling on water 2019-09-11 12:50:58 +02:00
Wuzzy df7acfc8ae Boats: Can place properly at all sides 2019-09-11 12:23:56 +02:00
Wuzzy b6c3cc0ed7 Tweak boat physics when inside water 2019-09-11 12:11:04 +02:00
Wuzzy 3cba55703a Boats: Allow very slow movement on ground 2019-09-11 11:17:42 +02:00
Wuzzy e88e95d564 Merge branch 'doubledoor' of https://github.com/aligator/MineClone2 2019-09-10 17:23:11 +02:00
Wuzzy 44bd5dba6c Mobs: Don't set gotten in API anymore 2019-09-10 17:17:09 +02:00
Wuzzy 9416305fa6 Fix sheep not regrow wool if mobs_griefing=false 2019-09-10 17:09:17 +02:00
Wuzzy 8618b42bc7 Merge branch 'fix_dye' of https://github.com/Rootyjr/MineClone2 2019-09-10 16:56:48 +02:00
Wuzzy dae4dc6924 Remove legacy polished stone recipe 2019-09-10 16:27:32 +02:00
Wuzzy 719242c840 Merge branch 'fix_sitting_minecart_bug' of https://github.com/Rootyjr/MineClone2 2019-09-10 16:09:29 +02:00
Wuzzy 2fecf0336c Mobs: Stack texture mod effects 2019-09-10 16:00:41 +02:00
Wuzzy 955638bccd Harden minetest.after check 2019-09-10 15:45:26 +02:00
Wuzzy 915ac2da93 Merge branch 'fix_mob_damage_color' of https://github.com/Rootyjr/MineClone2 2019-09-10 15:32:30 +02:00
Wuzzy 18069b069c Update German fishing rod translation 2019-09-10 15:19:18 +02:00