Commit Graph

4258 Commits

Author SHA1 Message Date
Nicu
30d2022b4a Optimize textures in mcl_crimson 2022-11-05 01:47:35 +01:00
cora
df216cb847 Add crimson fence and gate 2022-11-05 01:47:35 +01:00
cora
4dec3e1382 Add warped fence and gate 2022-11-05 01:47:35 +01:00
cora
43425279a3 Add crimson and warped doors and trapdoors 2022-11-05 01:47:35 +01:00
Michieal
b62f61db10 Added in the API Doc file, and adjusted the created items' names.
Added the ":" to the front of the item creation so that it can be called from an external mod.
Put in an optional inventory and wield image parameter to add in colorized inventory / wield images.
2022-11-05 01:26:15 +01:00
Michieal
c4981d894c Removed the local cached copy of the built in TGA encoder. 2022-11-05 01:26:15 +01:00
Michieal
93913ed780 Fix accidental conversion of tabs to spaces. 2022-11-05 01:26:15 +01:00
Michieal
3409c5a220 Prereview code, but with the spaces converted to tabs.
* Cleaned up all of the code, checked to make sure that there were no erraneous debug logging.
* To enable debugging, turn it on in the api by changing the following line in item_frames_api.lua:
mcl_itemframes.DEBUG = false -- set to true to see debug output.
* Made the standard Item Frame and the new Glow Frame use the frames API. 
Added in backwards compatibility mode.
* Made frames pop out items into the world on the old frames' entities when they are a hidden / broken entity. (Part of the backwards compatibility.)

* Tested locally.

* *Converted the spaces to tabs!*

Should be fully functional and ready for review.
2022-11-05 01:26:15 +01:00
Michieal
76991fcba9 Pre-review Item frames code
* Cleaned up all of the code, checked to make sure that there were no erraneous debug logging.
* To enable debugging, turn it on in the api by changing the following line in item_frames_api.lua:
mcl_itemframes.DEBUG = false -- set to true to see debug output.
* Made the standard Item Frame and the new Glow Frame use the frames API. 
Added in backwards compatibility mode.
* Made frames pop out items into the world on the old frames' entities when they are a hidden / broken entity. (Part of the backwards compatibility.)

* Tested locally.

Should be fully functional and ready for review.
2022-11-05 01:26:14 +01:00
Michieal
61df48e46e Translations for the Item Frames. 2022-11-05 01:26:14 +01:00
Michieal
18e83e5763 Added in display item rotation
Updated the Readme. Added in the ability to rotate the displayed item with a screwdriver. Made the Screwdriver mod required, due to rotating the item being fundamental behavoir.

Finalized a few bug fixes... still have to remove the all of the forced debug code, and move the item frames and glow frames over to the new api, and do a final test.
2022-11-05 01:26:14 +01:00
Michieal
8a21b9e99c Changed detection code custom frames.
todo: figure out why the standard item frame is using the wrong item entities.
todo: fix screwdriver rotating the item displayed.
2022-11-05 01:26:14 +01:00
Michieal
6d1b1b3c74 Added a return code to load_maps
Added a return code to load_maps to check for if dynamic_add_media registers a fail.
Used by mcl_itemframes when reloading a map placed into an itemframe.
2022-11-05 01:26:14 +01:00
Michieal
1f5b92f7bf code clean up. testing & debugging custom frames.
cleaned up a LOT of duplicate code. Added in the custom frames, and a couple of calls in init.lua to begin testing custom frames out.

to do: fix the freaking maps. (It looks like it's client side that is failing, to be honest.)
2022-11-05 01:26:14 +01:00
Michieal
4d74e4d9c1 update the translation template 2022-11-05 01:26:14 +01:00
Michieal
ef504e90c1 glowframe model commit 2022-11-05 01:26:14 +01:00
Michieal
09d452667b glowframe textures commit 2022-11-05 01:26:14 +01:00
Michieal
9b37ca460e Initial code comit 2022-11-05 01:26:14 +01:00
cora
48d6a2fd72 Add some ABM limits for lava ABMs 2022-11-03 14:11:03 +01:00
Michieal
fb10320550 Quickfix: changed standing sign rotate replacement node.
Replaced the standing sign (90 degrees) starting replacement node for on_rotate().
Tested on all signs, testing all degrees of rotation (all 16 of them).

fixes newly found bug: non-oak standing sign becomes oak standing sign when initially rotated with a screwdriver.
2022-11-03 13:10:50 +01:00
Michieal
5a68c876fb new translations for the additional signs. 2022-11-03 13:10:50 +01:00
Michieal
dd1e4ca927 Added in Crimson Hyphae and Warped Hyphae Signs
Added in Crimson Hyphae and Warped Hyphae Signs.

Didn't do the the translations for them.
2022-11-03 13:10:50 +01:00
Michieal
162bd36101 Translations for the signs 2022-11-03 13:10:50 +01:00
Michieal
d48100c427 Translations for the signs 2022-11-03 13:10:50 +01:00
cora
6485545269 Add warped fungus on a stick item 2022-11-01 04:52:17 +01:00
cora
dec207368c Add wither rose 2022-11-01 04:52:17 +01:00
Michieal
c3433bd003 Warped Fungus redo.
Changed the colors and added in the old drips because they look pretty cool on it.
Wanted it to match the surrounding color scheme more than the green and orange one.

texture license: full usage under the standard MineClone2 texture license.

Created by Michieal, based off of the Minecraft Warped Fungus.
2022-11-01 04:52:17 +01:00
Johannes Fritz
8faa6aa9eb Fix buckets on Android 2022-11-01 03:46:45 +00:00
cora
dc84b28d54 Fix warning in mcl_dye 2022-10-29 12:26:11 +02:00
cora
9aaa13408a Remove get_structure_data_construct
the positions are available from the registered structure
2022-10-28 21:25:43 +02:00
cora
11cc8745a2 Remove potentially copyrighted music track and replace by cc music
Soaring over the sea by mactonite (cc-by)
http://ccmixter.org/files/mactonite/65379
2022-10-28 05:00:17 +02:00
cora
9e3163ec42 Drop sweet berry item when bone mealing mature bush 2022-10-27 00:19:38 +02:00
cora
ba9d10055e always advance growth stage by 1 on bonemeal 2022-10-26 23:40:06 +02:00
PrairieWind
e8b983bcc5 Place sweet berries on wet farmland and bonemeal the sweet berries to progress growth 2022-10-26 15:57:17 +00:00
cora
ae91640234 Add missing biomes, correct saturation 2022-10-26 15:57:17 +00:00
cora
d6c0561d5a Only do damage from stage 1 and up 2022-10-26 15:57:17 +00:00
cora
2664fb871b sweet berries plantable not only on farming soil 2022-10-26 15:57:17 +00:00
cora
2b08f9ac53 Slow down player movement while inside sweet berry 2022-10-26 15:57:17 +00:00
cora
8d456d8ff9 implement sweet berry damage
0.5 per second while moving inside it
2022-10-26 15:57:17 +00:00
cora
b00f2784ff Sweet berry bushes are flammable 2022-10-26 15:57:17 +00:00
cora
280bcddcb2 Move sweet berry decoration to mcl_biomes 2022-10-26 15:57:17 +00:00
balazsszalab
495378b85e Register sweet berry bush by add_plant function to enable plant growth
Without calling the add_plant function, sweet berry bushes will not go through growth stages and it is impossible to farm them. Sweet berry bush and beetroot have the same number of growth stages, so I used beetroot's interval and chance values here. If somebody has a better approximation of these values, feel free to change them.
2022-10-26 15:57:16 +00:00
cora
5f4d7774ae Add sweet berry compostability 2022-10-26 15:57:16 +00:00
kay27
a7c3878cae [mineclone5] Tune sweet berries a bit 2022-10-26 15:57:16 +00:00
kay27
eb313f9482 [mineclone5] Move sweet berries into farming as a quick fix 2022-10-26 15:57:16 +00:00
cora
58a4a9d048 Set signs debug output to default to false 2022-10-24 02:47:56 +02:00
cora
2d1125c04e Merge pull request 'MineClone2 Signs Rewrite - move from GitHub to MeseHub' (#2822) from Michieal/MineClone2:mcl_signs_rewrite into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2822
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-23 16:57:09 +00:00
Johannes Fritz
7579e430c8 Remove unnecessary media files from mcl_chests 2022-10-23 18:23:45 +02:00
Michieal
d4b9918ed4 Added in Documentation, changed the inventory image to be more minecraft-like (hand made), changed some licensing, and tracked down an out of place debug log line. 2022-10-23 03:20:34 -04:00
Michieal
7095876af1 Forgot to add in the greysacle images. 2022-10-21 22:55:26 -04:00
Michieal
9bbb065967 Complete signs acess using new API.
Has compatibility layer for signs_dark, the original signs, etc.

Has added greyscale sign for making your own signs. :)

TODO: add in translations, tweak the sign colors.
2022-10-21 22:50:39 -04:00
Michieal
c0e4c96d87 set up for new api.
Setting up for the NEW inclusive API. (prelude to).
2022-10-21 23:54:26 +00:00
Michieal
23654916cf Update DEBUG to use the global variable.
Added in a debug variable entry into settings. This commit uses that variable for all of the Signs API's debugging needs.
2022-10-21 23:31:00 +00:00
cora
724105bb61 Fix redstone ore not calling on_punchnode callbacks 2022-10-22 01:05:53 +02:00
Michieal
9f32a4c692 MineClone2 Signs Rewrite - move from GitHub to MeseHub
GitHub link: https://github.com/michieal/Mineclone2-Signs
2022-10-19 18:55:07 -04:00
cora
47efde7f2e Make hand range configurable 2022-10-18 11:45:56 +02:00
Guy Liner
22f6c38c1a Changed hand_range to reflect that of Minecraft Java Edition in both creative and survival 2022-10-18 11:45:56 +02:00
cora
cf9cfea108 Don't automatically grow nether fungus 2022-10-16 00:58:29 +02:00
cora
96b7b9eab3 Add crafting recipe 2022-10-14 17:32:31 +00:00
cora
e80e44612c Add lightning rod 2022-10-14 17:32:31 +00:00
cora
a7e12e268c fix warning / wrong usage of on_construct in torches 2022-10-14 12:11:18 +02:00
cora
40fb4a1299 Fix texture warnings in torches 2022-10-14 12:11:18 +02:00
cora
a599f66360 move ink sac to mcl_mobitems 2022-10-13 21:48:05 +00:00
talamh
695fab5f06 Fix status effects scaling issue with non 16x texture packs 2022-10-11 21:53:48 +01:00
cora
51e43f7efc Fix mirrored doors rotation 2022-10-11 11:46:08 +02:00
talamh
23ec60fff0 Change torch model, add soul fire flame particle texture 2022-10-10 20:50:11 +01:00
AFCMS
5719637ee7
Flower pot fixes
- More accurate selection and collision box
-  Remove check for `minetest.features.use_texture_alpha_string_modes`
- Use new vectors
- Add some basic type annotations to API functions
2022-10-08 18:31:07 +02:00
MysticTempest
3eb2125538 Add alliums with fire_resistance, and fix eating issue. 2022-10-07 02:20:26 +02:00
chmodsayshello
a1bb8812b1 add cora to authors 2022-10-07 02:20:26 +02:00
cora
8fbb545a70 Merge pull request 'Replace bed nodeboxes with meshes' (#2722) from talamh/MineClone2:bed_mesh into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2722
2022-10-06 19:42:36 +00:00
cora
5a977b5b76 Fix mangrove leaves dropping themselves 2022-10-06 20:40:16 +02:00
talamh
b4859b8e7c Replace bed nodeboxes with meshes 2022-10-06 17:36:51 +01:00
cora
a9be0f1f9d dig sculk veins by water 2022-10-06 00:31:00 +02:00
cora
751b92c3d6 Update spread_to nodes for sculk 2022-10-06 00:31:00 +02:00
cora
6ecd7cfe4c comment out sensor/shrieker code
doesn't work well enough yet
2022-10-06 00:31:00 +02:00
cora
5f559867da Add sculk sounds by thunder1035 2022-10-06 00:31:00 +02:00
cora
7b1de473c3 Clean up mcl_sculk 2022-10-06 00:31:00 +02:00
cora
256d6bded7 Add sculk veins, generate shriekers and sensors 2022-10-06 00:31:00 +02:00
cora
6da1491f14 make xp.throw_xp return the orb objects 2022-10-06 00:31:00 +02:00
cora
a6021e7601 Add sculk 2022-10-06 00:31:00 +02:00
epCode
7e03f86b84 Give the arrows a far less laggy look with an attached particle spawner with critical shot. 2022-10-04 16:46:47 -07:00
Johannes Fritz
19c0851003 Add big head support to all babies 2022-09-29 12:03:50 -05:00
cora
3ba5df8013 Fix netherite block fortune dupe 2022-09-27 11:45:32 +02:00
cora
11f9e84622 Fix nether and blackstone gold ore drops
it needs a "fallback" drop with rarity = 1 otherwise there is a
fair chance it will drop nothing
2022-09-27 11:43:08 +02:00
cora
05e6afb93a Fix bonemealing of large fungi 2022-09-19 14:19:49 +02:00
cora
f9372b02f6 Better bone mealing behavior 2022-09-19 14:08:54 +02:00
cora
70294d9e34 Add weeping vines 2022-09-19 14:03:32 +02:00
cora
3fc12ed946 Add plants on bonemealed nylium 2022-09-19 14:03:32 +02:00
cora
f8501192e2 Make nylium spread to netherrack using bonemeal 2022-09-19 14:03:32 +02:00
Johannes Fritz
18f8768909 Fix invisibility potion when changing skin 2022-09-15 12:04:20 -05:00
PrairieWind
644e71f0ee The End...Again... Advancement 2022-09-14 20:37:08 +00:00
cora
b7b19c0602 Nether portal -> struct api, add schematics 2022-09-14 20:37:08 +00:00
cora
0d4feeffef Add more variation to jungle schematics 2022-09-14 20:37:08 +00:00
cora
a3c4d915b3 Fix dragon spawning with crystals 2022-09-14 20:37:08 +00:00
cora
9d62e076a9 export xpanes.update_pane 2022-09-14 20:37:07 +00:00
cora
420401fcce Fix horrible mistake in xpanes 2022-09-14 20:37:07 +00:00
cora
f753ac92ce Fix loot, elytra and shulker spawning 2022-09-14 20:37:07 +00:00
cora
82539acfe4 Move jungle vines to jungle tree schematics 2022-09-14 20:37:07 +00:00
cora
00c8c53a57 Enable deepslate and copper generation 2022-09-14 20:37:07 +00:00
cora
d97f274938 Ensure consistent return portal from nether
this saves the linked portals in the portal node meta
2022-09-13 22:16:24 +00:00