Commit Graph

1695 Commits

Author SHA1 Message Date
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
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
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
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
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
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
2f88529d41 Don't allow anvil repair if already at max health 2018-02-04 07:36:47 +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
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
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
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
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
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
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
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
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
dd4008ea73 Add totem of undying into combat category 2018-01-25 22:01:19 +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
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
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
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
01952b56fd Fix bad repeater updates when next to opaque block 2018-01-22 16:53:44 +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
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
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
Wuzzy
dba463ca6d Fix broken direct_source in mesecon.is_powered 2018-01-17 17:18:06 +01:00
Wuzzy
f009e958f5 Redstone: Fix internal logic a bit 2018-01-17 05:49:11 +01:00
Wuzzy
af3db1ae21 Fix opaque block placement propagate power too far 2018-01-17 03:54:51 +01:00
Wuzzy
2cf6332b57 Conductors no longer power themselves 2018-01-17 03:21:36 +01:00
Wuzzy
1522c875ae Code opaque block redstone power rule (part 1) 2018-01-17 02:44:00 +01:00
Wuzzy
2d5b519830 Fix weird fence mesecon behaviour 2018-01-17 01:45:12 +01:00
Wuzzy
81d5d8b942 Update comparator help 2018-01-13 05:00:47 +01:00
Wuzzy
483d6d088c Make redstone wire transmit power vertically, too 2018-01-13 04:45:04 +01:00
Wuzzy
4f9be58871 Fix incorrect power transmission of buttons 2018-01-13 04:08:40 +01:00
Wuzzy
f612d1b584 Rework core rules of most redstone components 2018-01-13 03:37:41 +01:00
Wuzzy
7626102bdb Fix dispenser inventory not getting set if up/down 2018-01-13 03:15:32 +01:00
Wuzzy
f72717e8de Support powering of opaque blocks (WIP) 2018-01-13 02:20:07 +01:00
Wuzzy
c4ec520986 Fix redstone torch rules 2018-01-13 02:19:52 +01:00
Wuzzy
1b5875582e Make redstone block an alldirs block 2018-01-13 01:49:28 +01:00
Wuzzy
6f8b524d07 Update emerald help text 2018-01-12 17:56:02 +01:00
Wuzzy
30517ecb98 Add lava place sound 2018-01-12 02:26:12 +01:00
Wuzzy
e4ab20509f Clean up the redstone rules 2018-01-12 01:37:32 +01:00
Wuzzy
54c0d1d750 Add banners to material_wood group 2018-01-11 02:42:43 +01:00
Wuzzy
24a523baa4 Easier orientation of dispenser/dropper placement 2018-01-11 01:28:36 +01:00
Wuzzy
a2f1122405 Remove get_look_pitch in mesecons_pistons 2018-01-10 21:39:22 +01:00
Wuzzy
a399bc4a80 Tweak piston footstep sound effects 2018-01-10 21:35:22 +01:00
Wuzzy
5eb805594e Add help text for observer 2018-01-10 21:26:39 +01:00
Wuzzy
dfc721860e Add vertical observers (dummies, currently unused) 2018-01-10 21:11:27 +01:00
Wuzzy
acb38db08d Reverse arrow direction of observer 2018-01-10 19:44:24 +01:00
Wuzzy
d900279e1d Implement basic node scan of observers 2018-01-10 19:31:35 +01:00
Wuzzy
85c40daf8a Implement the redstone pulse of observers 2018-01-10 18:46:35 +01:00
Wuzzy
916627c6b6 Add on state for observers 2018-01-10 18:27:47 +01:00
Wuzzy
3627b03b2e Set rules for observer 2018-01-10 18:12:27 +01:00
Wuzzy
990a9a8b46 Update on_place callbacks when placing hopper 2018-01-10 16:57:57 +01:00
Wuzzy
8b15e41b12 Set hopper redstone rules 2018-01-10 16:35:26 +01:00
Wuzzy
bf5e4f0788 Allow to disable hoppers with redstone power 2018-01-10 16:18:42 +01:00
Wuzzy
54bb6b707a Force-call on_place callbacks when placing door 2018-01-10 03:06:15 +01:00
Wuzzy
22fe1945ef Fix indentation in mcl_doors 2018-01-10 02:55:46 +01:00
Wuzzy
aa99ea70ab More redstone/door tweaks 2018-01-10 02:49:29 +01:00
Wuzzy
3830e5d24c Change redstone open/close rules of doors etc. 2018-01-10 02:25:20 +01:00
Wuzzy
10c2097ac1 Prepare dummy code for unsticky nodes (glazed terracotta) 2018-01-10 01:33:56 +01:00
Wuzzy
e3559e1de8 Increase hear distance of piston push sound 2018-01-09 20:39:00 +01:00
Wuzzy
9bf25214be Doors register redstone signal on top part, too 2018-01-09 17:44:54 +01:00
Wuzzy
bb31415670 Remove facedir, add sounds to redstone wires 2018-01-09 17:31:23 +01:00
Wuzzy
3e3b447132 Add opaque group to lit redstone lamp 2018-01-09 15:19:10 +01:00
Wuzzy
31cd23291a Make carpets non-walkable 2018-01-09 15:05:15 +01:00
Wuzzy
b959baa9d6 Update lever help 2018-01-08 21:20:53 +01:00
Wuzzy
71e663efe6 Merge branch 'lever' 2018-01-08 21:00:36 +01:00
Wuzzy
68a9a9bc40 Fix normals of wall levers and remove unused face 2018-01-08 20:46:44 +01:00
Wuzzy
d4d03526db Cocoas now use attached_node_facedir
This fixes some annoying bugs when removing jungle trees nearby
2018-01-08 20:19:33 +01:00
Wuzzy
33386b19ca Drop lever when attached node is destroyed 2018-01-08 20:11:33 +01:00
Wuzzy
dfc0d52372 Implement correct lever orientations 2018-01-08 17:45:30 +01:00
Wuzzy
b133dd6d5b Mob spawner: Fix mob sometimes not set correctly 2018-01-08 16:10:42 +01:00
Wuzzy
afc55f8139 Remove unused "Force night skip" button in beds 2018-01-08 03:53:15 +01:00
Wuzzy
f5010ec32a Sleep takes 5 seconds instead of 2 2018-01-08 03:49:34 +01:00
Wuzzy
a46064bd92 Always clear weather after sleep 2018-01-08 03:42:51 +01:00
Wuzzy
c9dc405531 Beds: First check distance 2018-01-08 03:19:19 +01:00
Wuzzy
84c099b234 Refine monster sleep prevention exceptions 2018-01-08 03:16:27 +01:00
Wuzzy
299bb332dc Prevent player from sleeping if monsters or too far from bed 2018-01-08 02:49:41 +01:00
Wuzzy
a7425b37b5 Extend mobspawner help 2018-01-08 02:19:00 +01:00
Wuzzy
a818995d2a Generated mob spawners generate mobs in darkness (except silverfish) 2018-01-08 00:41:57 +01:00
Wuzzy
dff88c70b3 Optimize top snow level 8 rendering 2018-01-07 23:43:23 +01:00
Wuzzy
c26c6e012b Update top snow and ice help 2018-01-07 23:37:02 +01:00
Wuzzy
86c24532f9 Implement 8 top snow layers 2018-01-07 23:21:47 +01:00
Wuzzy
d19bfb3406 Implement snow placement restriction 2018-01-07 21:34:42 +01:00
Wuzzy
fc0516cb71 Melt ice and top snow @ light >= 12 2018-01-07 21:01:34 +01:00