Commit graph

3461 commits

Author SHA1 Message Date
Wuzzy
c43b8baff4 Refactor arrow→button hit 2018-05-08 18:22:08 +02:00
Wuzzy
f392e23719 Implement staticdata for arrow entities 2018-05-08 17:16:11 +02:00
Wuzzy
fff3eb1ee7 Rename mcl_autogroup to _mcl_autogroup
This should fix some autogroup-related issues due to loading order.
2018-05-08 16:43:25 +02:00
Wuzzy
5ca5811bc8 Refactor how the misc creative category works 2018-05-08 15:58:26 +02:00
Wuzzy
4339c80fd8 Make arrows stick in solid nodes propery, trigger wooden buttons 2018-05-08 14:35:15 +02:00
Wuzzy
af0025debc Wooden buttons stay pushed by arrow 2018-05-08 13:46:39 +02:00
Wuzzy
467018128a Merge branch 'master' into stuck_arrow 2018-05-08 13:08:04 +02:00
Wuzzy
83829ec358 Hide a couple of very incomplete items in Creative 2018-05-08 01:40:31 +02:00
Wuzzy
64f7e0a076 Fix active buttons staying on after restart 2018-05-08 00:48:07 +02:00
Wuzzy
47d067d9ec Make arrow stuck when they hit solid node (WIP) 2018-05-08 00:38:00 +02:00
Wuzzy
fb8c5300cd Slow down arrows in liquids
This is a rought first implementation, very basic.
2018-05-08 00:10:20 +02:00
Wuzzy
32f612469f Re-colorize bow entity textures 2018-05-07 23:30:20 +02:00
Wuzzy
39e34b8f4e Fix charged bows being placable in itemframes 2018-05-07 23:22:54 +02:00
Wuzzy
4be5f89829 Move bow/arrow logic into new mod mcl_bows 2018-05-07 23:10:49 +02:00
Wuzzy
e55a1a6211 Play sound when hitting other player with arrow 2018-05-07 22:23:15 +02:00
Wuzzy
254a12b8af Use sneak speed when using bow 2018-05-07 20:37:45 +02:00
Wuzzy
fc9b57950f Slow player down when using bow 2018-05-07 20:31:40 +02:00
Wuzzy
2c4eae353c Use mcl_playerphysics to handle player physics
This fixes some issues with speed overrides and gets rid of ugly workarounds.
2018-05-07 20:10:53 +02:00
Wuzzy
da03b6af6a Add playerphysics framework 2018-05-07 19:56:48 +02:00
Wuzzy
7a208e3cd8 Drop charging bows as uncharged bow 2018-05-07 17:59:53 +02:00
Wuzzy
adc86232ee Also reset charging bows after shoot 2018-05-07 17:46:52 +02:00
Wuzzy
9a5f4e41cb Bow: Fix broken bow charging when switching bows during charge 2018-05-07 17:43:39 +02:00
Wuzzy
b19b1f5a2d Rewrite bow/arrow help texts 2018-05-07 17:06:00 +02:00
Wuzzy
db755036c3 Just some sanity checks for bow charging 2018-05-07 16:45:12 +02:00
Wuzzy
88ef857fb4 Increase arrow damage smooth dmg/speed increase
Currently using linear increase.
2018-05-07 16:25:46 +02:00
Wuzzy
90363edd59 Charge bow faster and with higher time precision 2018-05-07 15:53:16 +02:00
Wuzzy
72d4940bf2 Remove unused code in mcl_throwing 2018-05-07 15:39:08 +02:00
Wuzzy
3f5079d2b9 Update mcl_throwing license 2018-05-07 15:34:16 +02:00
Wuzzy
33bdad095b Refactor bow code in mcl_throwing 2018-05-07 15:29:17 +02:00
Wuzzy
b477d35cdc Implement smooth bow charging, based on [bows]
[bows] mod by Arcelmi:

https://github.com/Arcelmi/minetest-bows
2018-05-07 15:25:41 +02:00
Wuzzy
9b47ec2797 Add controls mod by arcelmi 2018-05-07 14:52:53 +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
2606c264b9 Update doc modpack (1.2.2) 2018-03-27 15:08:31 +02:00
Wuzzy
ed63c32f07 Rename “subgame” to “game” in mcl_doc_basics 2018-03-25 22:28:41 +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
7821a69226 Make saplings break when pushed by piston 2018-03-13 02:47:54 +01:00
Bu-Gee
d2f01c68f5 Pistons: When pushing a dropper node, dig it
Instead of calling handle_node_drops, etc.
2018-03-13 02:46:21 +01:00
Wuzzy
e19271398d Make pumpkins and melons opaque again 2018-03-13 02:38:57 +01:00
Yukitty
d73651424c Updated TNT fuse particles.
Fixed quirky integer math.random which was clearly intended to be floating point.
2018-03-12 00:05:43 +01: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
34333c6b54 Add prismarine and prismarine brick stairs/slabs 2018-02-18 00:50:09 +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
584ef08266 Fix anvil repair sometimes destroying items 2018-02-05 18:35:12 +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
eef6c44e4a Anvils: Allow to use up to 4 materials at once 2018-02-05 16:09:29 +01:00
Wuzzy
42cf5b38d2 Remove player privilege 2018-02-05 03:02:25 +01:00
Wuzzy
2f88529d41 Don't allow anvil repair if already at max health 2018-02-04 07:36:47 +01:00
Wuzzy
146458112c Renamed spawn eggs spawn mob with name 2018-02-04 07:11:44 +01:00
Wuzzy
4608a2f98d Generalize some anvil attributes in help 2018-02-04 07:00:26 +01:00
Wuzzy
197afa664b Use color for named items 2018-02-04 06:39:10 +01:00
Wuzzy
8ff92fcb7f Fix anvil not updating after removing input slot 2018-02-04 06:13:12 +01:00
Wuzzy
9ca97d6f4a Fix naming of banner copies 2018-02-04 06:11:08 +01:00
Wuzzy
2c0eee27fc Fix restore of banner desc after anvil rename 2018-02-04 05:52:10 +01:00
Wuzzy
a7f0d8c82c Fix wrong banner name when patterncrafting 2018-02-04 05:08:02 +01:00
Wuzzy
d594b7b62f Fix anvil may destroy items when taking output 2018-02-03 05:50:59 +01:00
Wuzzy
256dd1e26a Fix some anvil renaming issues 2018-02-03 05:42:19 +01:00
Wuzzy
fda5ed9e1c Allow to confirm anvil name with enter key 2018-02-03 05:34:20 +01:00
Wuzzy
64ddd07066 Increase effectiveness of tool+tool repair on anvil 2018-02-03 05:16:51 +01:00
Wuzzy
dfb941cf90 Add anvil-related factoids 2018-02-03 04:40:31 +01:00
Wuzzy
ef471a67fa Anvils: Don't allow rename if name is unchanged 2018-02-03 03:53:31 +01:00
Wuzzy
0b80b60cf1 Fix damaging anvil too aggressively 2018-02-03 03:43:28 +01:00
Wuzzy
9277bf4552 Remove duplicate code in mcl_anvil 2018-02-03 03:34:32 +01:00
Wuzzy
ef7781e12e Add help for anvil 2018-02-03 03:33:48 +01:00
Wuzzy
8e0f8bbf43 Remove anvils from WIP 2018-02-03 02:51:12 +01:00
Wuzzy
41cebe13bf Chance to damage anvil with each step 2018-02-03 02:40:49 +01:00
Wuzzy
32ed701f0a Drop anvil item on dig 2018-02-03 01:43:07 +01:00
Wuzzy
e42c5641b2 Anvils: Fix destruction of whole material stack 2018-02-03 01:03:36 +01:00
Wuzzy
eb1711c2e7 Implement tool+material repair at anvil 2018-02-03 00:55:52 +01:00
Wuzzy
dbd1fb46f9 Allow simple tool+tool repairs with anvil 2018-02-03 00:17:29 +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
449fc046dd Tweak anvil middle 2018-02-02 17:22:39 +01:00
Wuzzy
f1057c0542 Enforce anvil name length more strictly 2018-02-02 05:42:35 +01:00
Wuzzy
7c1e625451 Allow to clear name with anvil 2018-02-02 05:40:22 +01:00
Wuzzy
86b7f537d5 Copying banners now clears name 2018-02-02 05:29:35 +01:00
Wuzzy
40163aed91 Forbid renaming of written books 2018-02-02 05:13:26 +01:00
Wuzzy
06c9b2c3f6 Handle item naming of banners 2018-02-02 05:07:58 +01:00
Wuzzy
87ef954409 Double save anvil-given name 2018-02-02 04:19:40 +01:00
Wuzzy
a7190a3693 Implement renaming with anvils 2018-02-02 04:14:11 +01:00
Wuzzy
e754eec3f7 Fix some global issues with rs repeater code 2018-02-02 03:46:27 +01:00
Wuzzy
043165ced2 Implement anvil inventory slot restrictions 2018-02-02 02:56:34 +01:00
Wuzzy
e97fe05acc Specify the repair material of tools and armor 2018-02-02 02:33:10 +01:00
Wuzzy
40f468f18f Add non-functional anvil formspec 2018-02-02 02:07:09 +01:00
Wuzzy
e649f37bc8 Add comment in minecart code 2018-02-02 01:21:19 +01:00
Wuzzy
4207f88266 Add dispenser API docs 2018-02-01 23:00:50 +01:00
Wuzzy
fa10dc93ae Add _on_dispense callback for dispenser; refactor 2018-02-01 22:49:41 +01:00
Wuzzy
3e7ad08db0 Set is_ground_content=false for some nodes 2018-01-31 19:36:27 +01:00
Wuzzy
a84a0a0db6 Change anvil nodebox 2018-01-31 19:23:37 +01:00
Wuzzy
dfafa6c969 Fix rotation of falling anvils 2018-01-31 19:10:14 +01:00
Wuzzy
b7b6f356fa Redstone: Add basic blastnode handling 2018-01-30 06:01:36 +01:00
Wuzzy
d750e7f6d4 No longer hide observers 2018-01-30 05:56:30 +01:00
Wuzzy
ca987e1255 Reorganize some commands 2018-01-30 03:33:30 +01:00
Wuzzy
c22a5cba43 Fix falling nodes falling forever on walls 2018-01-29 03:18:02 +01:00
Wuzzy
7196485294 Remove sunlight propagation for various nodes 2018-01-28 20:21:02 +01:00
Wuzzy
31f545202a Declare chests to be transparent to sunlight 2018-01-28 19:30:52 +01:00
Wuzzy
093e9b0b08 Declare observers not opaque 2018-01-28 19:25:05 +01:00
Wuzzy
32f60c4fee Add README/credits for the lever mod 2018-01-27 19:48:44 +01:00
Wuzzy
50a1bb5ea5 Repeaters: Fix output if placed in lock + on state 2018-01-27 17:04:00 +01:00
Wuzzy
01bd264b2b Repeater: Fix sometimes bad lock on place 2018-01-27 16:44:30 +01:00
Wuzzy
2788cad59c Minor repeater refactor 2018-01-27 16:25:38 +01:00
Wuzzy
3229f2a902 Move the lock bar of repeaters 2018-01-27 16:22:59 +01:00
Wuzzy
e1606eeb0c Repeaters: Use set_node instead of swap_node 2018-01-27 16:10:29 +01:00
Wuzzy
a2ab52c705 Repeaters: Remember delay when locked 2018-01-27 16:07:59 +01:00
Wuzzy
42f5426fe9 Update repeater help (locking feature) 2018-01-27 15:41:01 +01:00
Wuzzy
781caa1187 Repeaters: Do not unlock if locked from other side 2018-01-27 15:00:58 +01:00
Wuzzy
719e5193d8 Restrict is_powered call in mesecons_delayer 2018-01-27 14:34:50 +01:00
Wuzzy
878743cee5 Repeaters: Set correct lock state on placement 2018-01-27 14:32:21 +01:00
Wuzzy
b3d069b53a Update repeater lock after dig 2018-01-27 06:01:49 +01:00
Wuzzy
db94d1c601 Locked repeaters: Update receptor after unlock 2018-01-27 05:43:05 +01:00
Wuzzy
a8c2b37175 Fix some bad repeater textures 2018-01-27 05:23:40 +01:00
Wuzzy
6b1354cd3b Lock and unlock repeaters (WIP) 2018-01-27 05:17:22 +01:00
Wuzzy
bc1f3cd651 Add locked repeaters (nodes only) 2018-01-27 04:36:17 +01:00
Wuzzy
8950455026 Fix crash when dispensing spawn egg 2018-01-27 03:55:59 +01:00
Wuzzy
c54019a8ab Change chorus-related recipes 2018-01-27 03:45:43 +01:00
Wuzzy
d972fbfee8 Replace clear command with alias to clearinv 2018-01-27 03:19:59 +01:00
Wuzzy
1924940935 Update chest / trapped chest / ender chest help 2018-01-27 00:58:53 +01:00
Wuzzy
5e397d8611 Fix wrong redstone rules of trapped chest 2018-01-27 00:50:04 +01:00
Wuzzy
7953d8d1a6 Lift WIP status of trapped chests 2018-01-27 00:44:45 +01:00
Wuzzy
a16746faf3 Simplify storage of players having an open chest 2018-01-27 00:44:07 +01:00
Wuzzy
2400ca5be0 Partially fix bad player counting of trapped chest 2018-01-26 23:44:03 +01:00
Wuzzy
b1fcbbf68f New texture for trapped chest 2018-01-26 23:13:44 +01:00
Wuzzy
16bb9b8901 Localize various unneeded global variables 2018-01-26 22:37:42 +01:00
Wuzzy
a40dec6da9 Add missing sounds for active repeater 2018-01-26 22:05:47 +01:00
Wuzzy
dc13cf04dd Fix repeater stopping after rejoining world 2018-01-26 22:01:37 +01:00
Wuzzy
930ecf9be1 Fix rs not turnoff if rtorch is hor. behind opaque 2018-01-26 21:53:27 +01:00
Wuzzy
e8ebc537f0 Fix door closing if dig opaque block next to it 2018-01-26 21:11:49 +01:00
Wuzzy
03b6c17f51 Fix door closing if only 1 segment loses power 2018-01-26 19:54:48 +01:00
Wuzzy
c2d0414255 Fix crash when obj tele's Nether→Overworld @ rain 2018-01-26 19:37:00 +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
dd4008ea73 Add totem of undying into combat category 2018-01-25 22:01:19 +01:00
Wuzzy
138005e40f /kill destroys totem of undying 2018-01-25 21:50:59 +01:00
Wuzzy
38478ee7e3 Fix broken kill command 2018-01-25 21:08:25 +01:00
Wuzzy
e3cea04f12 Update mobs_mc, properly implement totem 2018-01-25 21:03:58 +01:00
Wuzzy
ed5c2c2019 Tweak initial speed of TNT entitiy 2018-01-25 16:23:54 +01:00
Wuzzy
9a8e47bb02 Fix some bonus stairs being not properly diggable 2018-01-25 09:04:34 +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
b9686c2d9f Allow to disable weather changes 2018-01-25 03:55:08 +01:00
Wuzzy
a3388e5288 Add duration parameter to weather command 2018-01-24 06:50:28 +01:00
Wuzzy
c6a56ed430 Simplify clear command 2018-01-23 23:48:26 +01:00
Wuzzy
f7b0702457 Nerf zombie/husk/zvillager drops 2018-01-23 23:13:55 +01:00
Wuzzy
c9812c5acf Minor vines help change 2018-01-23 06:42:46 +01:00
Wuzzy
647524f503 Rework the overly weird vine growth algorithm 2018-01-23 06:40:07 +01:00
Wuzzy
0405b2aa2c Fix some Lua warnings 2018-01-23 05:19:05 +01:00
Wuzzy
f3a3681e7b Make chorus flower craftable 2018-01-23 04:30:59 +01:00
Wuzzy
101285d04d Fix chorus fruit not working with damage on 2018-01-23 04:24:05 +01:00
Wuzzy
232dbca783 Add sound for chorus fruit teleport 2018-01-23 04:18:19 +01:00
Wuzzy
064858ff59 “Still <Liquid>” → “<Liquid> Source” 2018-01-23 04:12:44 +01:00
Wuzzy
d36ec8ee17 Update chorus fruit help 2018-01-23 04:01:59 +01:00
Wuzzy
e3c207c312 Fix no placement sound of chorus flower 2018-01-23 02:56:46 +01:00
Wuzzy
92a595e9e7 Copy-editing of chorus plant help 2018-01-23 02:51:58 +01:00
Wuzzy
3399f3b0c2 Add chorus plant help 2018-01-23 02:44:05 +01:00
Wuzzy
88d1570f5b Drop TODO in chorus_plant.lua 2018-01-23 02:03:57 +01:00
Wuzzy
223729864f Remove chorus plant and flowers from WIP status 2018-01-23 02:00:51 +01:00
Wuzzy
3136c0f119 More mcl_end refactoring 2018-01-23 01:57:32 +01:00
Wuzzy
af1465ab0c Tweak chorus flower aging 2018-01-23 01:54:59 +01:00
Wuzzy
5e47bce74e Refactor mcl_end 2018-01-23 01:53:43 +01:00
Wuzzy
bdaaf912ab Implement basic chorus plant growth 2018-01-23 01:46:00 +01:00
Wuzzy
fd4797c0e7 Add basic placement rules for chorus flower 2018-01-23 00:39:21 +01:00
Wuzzy
65c4d6af1a Fix chorus plant drops 2018-01-23 00:21:05 +01:00
Wuzzy
da2fbed4c2 Burnout rs torch if it changes state too often 2018-01-22 23:52:04 +01:00
Wuzzy
eacda330eb Remove mesecons/VERSION 2018-01-22 22:40:31 +01:00
Wuzzy
a160d8411a Update redstone torch help 2018-01-22 22:40:16 +01:00
Wuzzy
c9b731b8f9 Fix redstone torch state with block above 2018-01-22 21:49:20 +01:00
Wuzzy
db4c860aa8 More work on redstone torch state 2018-01-22 21:32:07 +01:00
Wuzzy
8019cfd591 Faster updating of redstone torches 2018-01-22 21:11:10 +01:00
Wuzzy
94dfd63e14 Redstone torch: Use set_node instead of swap_node 2018-01-22 20:04:19 +01:00
Wuzzy
29d034ad09 Fix torches unplacable on disabled hoppers 2018-01-22 20:01:38 +01:00
Wuzzy
d47af14d4d Implement basic redstone torch rules 2018-01-22 19:58:38 +01:00
Wuzzy
254a3093eb Fix inconsistent hopper texture 2018-01-22 18:06:12 +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
01952b56fd Fix bad repeater updates when next to opaque block 2018-01-22 16:53:44 +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
f4657f79f5 Redstone: Propagate turnoff through opaque blocks 2018-01-20 20:42:53 +01:00
Wuzzy
33d978de06 Propagate redstone power through opaque blocks 2018-01-20 19:04:53 +01:00
Wuzzy
aaf68793fe More redstone rule consistency 2018-01-19 03:34:30 +01:00
Wuzzy
d5a72d240f Tweak redstone wire rules 2018-01-18 20:00:41 +01:00
Wuzzy
aec2fb8309 Remove legacy mesecons code 2018-01-18 19:22:52 +01:00
Wuzzy
9d409927bc Make nether wart more common in v6 2018-01-17 22:56:20 +01:00
Wuzzy
92aa0114a2 Fix redstone having 2 help entries 2018-01-17 22:36:48 +01:00
Wuzzy
b04e555635 Update help text of comparators 2018-01-17 22:30:27 +01:00
Wuzzy
c9ef3f8536 Use default redstone rules for rails again 2018-01-17 21:01:26 +01:00
Wuzzy
5d913b6d29 Refactor some redstone internal code 2018-01-17 20:23:43 +01:00
Wuzzy
e85a16f70a Redstone: Make is_powered respect spread 2018-01-17 20:20:08 +01:00