1
0
Fork 0
Commit Graph

290 Commits (034af87cd76737f1d3d6ecbb31a6e688b48b0c50)

Author SHA1 Message Date
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 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 92ab90fd1b Add knockback for 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
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
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy b2c8d7cff0 Update biomeinfo to 1.0.3 2020-04-03 12:50:48 +02: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 98e87fd5db mcl_attached: Check if dir is nil 2020-02-23 20:37:42 +01:00
Wuzzy a8a875a7b4 Add biomeinfo mod 2019-09-11 16:06:34 +02:00
Wuzzy c623860af8 Add wool sounds 2019-06-14 23:01:50 +02:00
Wuzzy fbba40fe5c Fix item container transfer destroying item metadata 2019-04-05 15:30:32 +02:00
Wuzzy 895b9e7e3a More End tweaks 2019-03-09 19:15:10 +01:00
Wuzzy 3edf880301 Add minimal formspec prepend 2019-03-07 13:05:26 +01:00
Wuzzy a84f7935fa Revert "Utilize formspec prepend"
This reverts commit ea0c2e9568.
2019-03-07 12:42:08 +01:00
Wuzzy 26c9150591 Revert "Use formspec prepend for real"
This reverts commit 3ca01c3149.
2019-03-07 12:42:06 +01:00
Wuzzy 720bc6a56f Revert "Move mcl_formspec_prepend"
This reverts commit 581f0fa2dd.
2019-03-07 12:41:59 +01:00
Wuzzy 581f0fa2dd Move mcl_formspec_prepend 2019-03-06 07:32:13 +01:00
Wuzzy 3ca01c3149 Use formspec prepend for real 2019-03-06 06:38:25 +01:00
Wuzzy ea0c2e9568 Utilize formspec prepend 2019-03-06 06:35:24 +01:00
Wuzzy c4558a31ab Update modpack meta files (MT 5.0.0) 2019-03-06 05:52:31 +01:00
Wuzzy 149d1450ef Remove console spam from mcl_loot 2019-03-06 05:14:31 +01:00
Wuzzy a4d40560c3 Replace damage sound to something gender-neutral 2019-03-05 00:15:48 +01:00
Wuzzy 1daf9b7a59 Put treasure loot into random inventory slots 2019-02-28 18:00:17 +01:00
Wuzzy 3ec7914962 Allow to use Minetest's original flat mapgen again 2019-02-09 03:07:18 +01:00
Wuzzy e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy 68c373d2b8 Add a couple of modpack.conf files 2019-01-07 00:52:05 +01:00
Wuzzy bae1fa072c Remove dead code 2018-05-12 22:53:21 +02:00
Wuzzy e38f19b5f3 Comparator now detects jukebox as container 2018-05-12 22:48:49 +02:00
Wuzzy 1ce9ab22bf Turn jukebox into a container (part 1) 2018-05-12 21:50:56 +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 9b47ec2797 Add controls mod by arcelmi 2018-05-07 14:52:53 +02:00
Wuzzy 093e9b0b08 Declare observers not opaque 2018-01-28 19:25:05 +01:00
Wuzzy c2d0414255 Fix crash when obj tele's Nether→Overworld @ rain 2018-01-26 19:37:00 +01:00
Wuzzy 30517ecb98 Add lava place sound 2018-01-12 02:26:12 +01:00
Wuzzy 71e663efe6 Merge branch 'lever' 2018-01-08 21:00:36 +01:00
Wuzzy 1505290e24 New way to attach node: attached_node_facedir 2018-01-08 20:10:44 +01:00
Wuzzy eae8b782a8 64 nodes above the Nether are non-deadly void 2017-12-09 15:39:27 +01:00
Wuzzy b1d15fb667 Update sky instant if teleport between dimensions 2017-11-24 03:48:32 +01:00
Wuzzy b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy ae8b7550ac Play damage sound when player dies 2017-11-21 23:38:20 +01:00
Wuzzy 7c15d5f9ac More MC-like end portal block (WIP) 2017-11-21 05:39:27 +01:00
Wuzzy a9d95dea23 Use hardware coloring for tallgrass and friends 2017-11-16 03:13:19 +01:00
Wuzzy 6b2c06934a Autom. make grass/fern dry if placed on dry grass 2017-11-15 01:29:17 +01:00
Wuzzy 15b96ff7cf Fix very loud snow footstep sound 2017-11-12 06:08:09 +01:00
Wuzzy 10f50d972f Move Nether portal particle texture 2017-09-02 14:20:40 +02:00
Wuzzy b2f97fa3cf Reduce flat Nether bedrock thickness to 1 2017-08-30 01:09:49 +02:00
Wuzzy 0ff6cb2837 Fix broken compass and clocks 2017-08-22 18:58:53 +02:00
Wuzzy fe31afc119 Disable weather in Nether and End and Void 2017-08-22 18:32:05 +02:00
Wuzzy 25ce811edc Fix crash in flat mapgen 2017-08-21 17:46:12 +02:00
Wuzzy 9def04142b Align End and Nether height at mapchunk borders
This commit breaks previous maps with Nether and End
2017-08-21 17:35:57 +02:00
Wuzzy cbd8befb47 Fix another walkover bug 2017-08-21 05:25:15 +02:00
Wuzzy f746e2a0c6 Fix walkover mod 2017-08-21 05:19:05 +02:00
Wuzzy 3fefbf5fc4 Add realm barrier between End and Overworld void 2017-08-17 19:59:43 +02:00
Wuzzy 6e93424f03 Fix broken Overworld 2017-08-16 18:56:39 +02:00
Wuzzy d90b59c918 Tweak Nether ore and lava generation 2017-08-16 17:01:16 +02:00
Wuzzy 860155e5c1 Set proper realm boundaries 2017-08-16 15:29:05 +02:00
Wuzzy e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy 4e45d66678 Implement item transfer from large src container 2017-08-04 03:34:28 +02:00
Wuzzy d0b1e261ea Move more shulker box checks in mcl_hoppers to mcl_util 2017-08-04 03:00:33 +02:00
Wuzzy 8388235600 Simplify mcl_util.move_item_container 2017-08-04 02:19:47 +02:00
Wuzzy fb261454df Item container transfer: Optional source_list 2017-08-04 01:58:31 +02:00
Wuzzy a29091e23c Move double chest neighbor function to mcl_util 2017-08-03 23:27:22 +02:00
Wuzzy 3b1c0765d6 Add double container move logic into mcl_util 2017-08-03 23:23:33 +02:00
Wuzzy db562c91db Reduce snow footstep gain 2017-07-31 01:01:18 +02:00
Wuzzy e45b9e6b68 Remove useless max_hear_distance in mcl_sounds
It is not part of SimpleSoundSpec
2017-07-31 01:00:15 +02:00
Wuzzy e65029394f Replace most textures with Pixel Perfection
- Using the converter script
- A bunch of textures are still missing
2017-07-20 20:20:45 +02:00
Wuzzy d04c46f3c8 Convert some base textures to Pixel Perfection 2017-07-14 19:51:03 +02:00
Wuzzy 1dc64d9206 Reduce node sound hear distance to 16 2017-07-08 15:07:07 +02:00
Wuzzy 1db851b42b Add experimental setting to disable superflat 2017-07-02 22:35:46 +02:00
Wuzzy 38cf151806 Fix many crashes when placing item on unknown node 2017-06-29 13:02:53 +02:00
Wuzzy 27481afe06 Fix crash if flowing liquid next to unknown node 2017-06-29 12:29:59 +02:00
Wuzzy 823c20bd1b Fix some global variable warnings 2017-06-10 17:52:21 +02:00
Wuzzy 2a747e828a Refactor flower on_place function 2017-06-09 20:20:29 +02:00
Wuzzy b7f50d9028 Restrict flower place to dirt/grassblock and light 2017-06-09 19:18:23 +02:00
Wuzzy 2d42a1d31b Change leaves dug sound 2017-06-08 21:14:07 +02:00
Wuzzy 3de12ec1d1 Simple falling damage sound 2017-06-06 23:59:30 +02:00
Wuzzy 9b2582857c Use softer snow sounds for real 2017-06-06 23:20:54 +02:00
Wuzzy d24d20a932 Use softer snow sounds 2017-06-06 23:20:12 +02:00
Wuzzy 3af932d6ac Add player damage sound from Voxelands 2017-06-06 21:50:43 +02:00
Wuzzy 02e23893f5 Add water bucket sounds from Voxelands 2017-06-06 21:50:03 +02:00
Wuzzy 5e614b4436 New node sounds: water, metal, plant/leaves 2017-06-06 21:10:24 +02:00
Wuzzy a15ef03d9c Fix incorrect overworld_min in flat mapgen 2017-05-27 16:10:21 +02:00
Wuzzy 886a717b30 Remove blabla in mcl_autogroup 2017-05-25 02:27:10 +02:00
Wuzzy cfcf22f0de Add bubble particles for players being underwater 2017-05-22 22:04:42 +02:00
Wuzzy ef06d345df New lava generator: Spawn in air in layers 1-10 2017-05-20 01:27:09 +02:00
Wuzzy 1cdc98e03b Add more defaults for mcl_loot, fix random wear 2017-05-19 17:58:15 +02:00
Wuzzy 49bd956da8 Add loot API and use it in tsm_railcorridors 2017-05-19 16:46:03 +02:00
Wuzzy 8e2d601f85 Prevent placing most plants on mycelium 2017-05-14 01:45:57 +02:00
Wuzzy c12f16b73b Add digging groups only to diggable nodes 2017-03-30 03:07:04 +02:00
Wuzzy ca9b7d69c1 Fix incorrect Superflat layering 2017-03-21 03:28:40 +01:00
Wuzzy d03b002d8d Consider falling nodes to be solid 2017-03-11 07:21:50 +01:00
Wuzzy d9a61e826a Add opaque group 2017-03-10 20:01:45 +01:00
Wuzzy 2495676e54 Rename mapgen variables 2017-03-04 23:00:23 +01:00
Wuzzy 19150ddddb Add helper functions to convert to/from MC layer 2017-03-04 22:45:08 +01:00
Wuzzy c555d7c60f Fix nodes not breakable in creative 2017-02-28 00:14:31 +01:00
Wuzzy c80433aaf4 Fix dig times of wool and cobweb 2017-02-27 19:38:48 +01:00
Wuzzy 6b3db0ae72 Eliminate crumbly, cracky, snappy and choppy fully 2017-02-27 18:53:17 +01:00
Wuzzy 7dd5afe28f Fix handy digging times 2017-02-27 00:35:13 +01:00
Wuzzy a52f853853 Refactor and fix bad digging times framework 2017-02-27 00:29:56 +01:00
Wuzzy 307ec02744 Kinda fix shearsy/handy/swordy 2017-02-26 22:58:29 +01:00
Wuzzy b05c56bcd3 Add digging time support for shears/swords/hand 2017-02-26 20:50:02 +01:00
Wuzzy a4a6ec9b06 Write comment explaining mcl_autogroup magic 2017-02-26 19:38:40 +01:00
Wuzzy 151c1e62ba Tools to mcl_tools, way more efficient digging time definitions 2017-02-26 18:44:48 +01:00
Wuzzy 33b482b398 Fix missing node sounds 2017-02-25 16:30:10 +01:00
Wuzzy 4ecef7b411 First steps to implement MC-like digging times
This involves MASSIVE hacks around the digging system in Minetest.
Implemented so far: Hardness, nodes in mcl_core, digging for nodes
diggable by pickaxe, shovel, axe.
Not implemented: Nodes diggable by hand alone (except insta-dig),
shears and sword.
2017-02-25 16:19:24 +01:00
Wuzzy b5dcd46193 Remove ignore node from solid node group
So mobs don't spawn on ignore...  xD
2017-02-24 02:51:50 +01:00
Wuzzy 23edc81f9d Set sane default mapgen flags for flat, v6, etc. 2017-02-23 01:14:27 +01:00
Wuzzy 73957c46b2 Partially re-implement Superflat 2017-02-23 00:15:47 +01:00
Wuzzy 2e7ce77985 mcl_util.is_in_void 2017-02-21 16:38:28 +01:00
Wuzzy 649fca5aff Add mcl_util.is_fuel 2017-02-21 03:00:48 +01:00
Wuzzy d8f423ac07 Allow to put fuels into furnace with hoppers 2017-02-21 02:09:34 +01:00
Wuzzy 40783d2ca6 Fix crash w/ mcl_util group-less item move 2017-02-20 16:30:07 +01:00
Wuzzy aa5ef41015 Globalize bedrock generation position 2017-02-20 07:10:03 +01:00
Wuzzy a7aaac904c Import flowlib by Qwertymine 2017-02-19 23:32:54 +01:00
Wuzzy fa9f081770 Remove dig_immediate sound 2017-02-19 22:54:06 +01:00
Wuzzy f18ffce540 Add tool breaking sounds 2017-02-19 19:59:18 +01:00
Wuzzy 563d537164 Snow nodes make snow sounds 2017-02-19 19:48:16 +01:00
Wuzzy 57813ba9bc Fix author lists in readme files 2017-02-19 19:43:28 +01:00
Wuzzy fc02d0730e Move mcl_core to ITEMS modpack and add description 2017-02-17 23:14:21 +01:00
Wuzzy 91950ee026 Move global core variables to mcl_init 2017-02-17 23:06:52 +01:00
Wuzzy 241a392fc1 Fix sapling growth generating error messages
The reason was that the code tried to spawn mcl_core:apple, which is not a node
2017-02-17 03:46:12 +01:00
Wuzzy a9fbdc5e71 Remove stone old non-code 2017-02-17 00:33:48 +01:00
Wuzzy 425ec6774d Move main mapgen code into new mod 2017-02-17 00:09:05 +01:00
Wuzzy d8e8842a7a Generalize dig_by_water group to support group:water 2017-02-16 22:07:54 +01:00
Wuzzy 4d78052851 Refactor: Move sign craft to signs mod 2017-02-16 21:47:47 +01:00
Wuzzy 5827b15ec5 Move hay bale to mcl_farming 2017-02-16 21:44:53 +01:00
Wuzzy 001a2d2064 Move gunpowder to mcl_mobitems 2017-02-16 21:33:14 +01:00
Wuzzy a0adb8bed7 Move wood definitions (refactor mcl_core) 2017-02-16 21:24:27 +01:00
Wuzzy 074c0de089 Move mcl_oceans to ITEMS modpack 2017-02-16 20:45:55 +01:00
Wuzzy 19b44a9910 Move sponges to mcl_sponges mod 2017-02-16 20:45:28 +01:00
Wuzzy 0110ec95c6 Move sea lantern and prismarine stuff to mcl_ocean 2017-02-16 20:35:50 +01:00
Wuzzy 05294f27b6 Make removal nodes in mcl_core 2017-02-16 20:22:20 +01:00
Wuzzy b93a2a8f5f Move rail to mcl_minecarts 2017-02-16 20:15:43 +01:00
Wuzzy 5ac874eaaa Use Faithful 1.11 gravel texture 2017-02-16 20:11:58 +01:00
Wuzzy 73cdd17a7c Generalize item destruction logic 2017-02-16 19:33:47 +01:00
Wuzzy 96521433f5 Eat on rightclick 2017-02-16 17:45:33 +01:00
Wuzzy 1e759365ca Centralize random seed generation 2017-02-16 04:08:33 +01:00
Wuzzy 3696ee3761 Organize mods into modpacks for better overview 2017-02-16 01:45:21 +01:00