Commit graph

3364 commits

Author SHA1 Message Date
Wuzzy
0d60b5218a Destroy arrow if inside solid node 2018-05-09 02:00:34 +02:00
Wuzzy
76356ed1e5 Merge branch 'stuck_arrow' of http://repo.or.cz/MineClone/MineClone2 into stuck_arrow 2018-05-09 00:06:29 +02:00
Wuzzy
19dd11dfb8 Fix mesecons crash caused by arrow 2018-05-08 18:30:57 +02:00
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