Commit graph

102 commits

Author SHA1 Message Date
Nils Dagsson Moskopp
54b36c42a9
Add debug command to show ender chest inventory formspec. 2021-12-02 19:44:22 +01:00
Nils Dagsson Moskopp
f8c58262bc
Fix Ender chests from MineClone2
Commit 819dbc6224c3b96ad4094cccf3d9150f3ef61d45 of MineClone2 introduced
an LBM that removed Ender chest formspecs stored in the node meta. That
change makes Ender chests that were loaded in MineClone2 versions past
that commit not show the Ender chest inventory form on right-click.

This patch makes those broken Ender chests work by introducing an LBM
that writes the formspec to the node meta for Ender chest nodes once.

Since the LBM name is suffixed with a hash of the Ender chest formspec,
changes to the Ender chest formspec (even removing it entirely) should
not require manual adjustment of the LBM code.
2021-06-28 22:54:00 +02:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Elias Fleckenstein
735bfc88c4 Fix chests entities spawning multible times 2021-02-10 09:20:46 +01:00
Elias Fleckenstein
65219d34a2 Animated shulkerboxes 2021-01-28 20:53:57 +01:00
Elias Fleckenstein
dbd6ebd4b5 Fix #1014 2021-01-27 19:21:28 +01:00
Elias Fleckenstein
85f3fb7ea1 Fix #1005 2021-01-27 16:42:49 +01:00
Elias Fleckenstein
db3a31c2c4 Simplify chest animations 2021-01-27 15:45:23 +01:00
kay27
94840ec2ef Fix black chests, https://git.minetest.land/Wuzzy/MineClone2/issues/995 2021-01-23 00:43:46 +04:00
kay27
c9294a4d8a Fix https://git.minetest.land/Wuzzy/MineClone2/issues/996 Coordinate exploit in signs and chests, sent by @cora 2021-01-22 21:42:37 +04:00
Elias Fleckenstein
09ab1482b5 Merge branch 'animated_chests' 2021-01-18 19:55:48 +01:00
Elias Fleckenstein
49c70560a5 Fix #946 2021-01-05 14:13:33 +01:00
Elias Fleckenstein
378dca593e Always create chest entities 2021-01-04 17:16:48 +01:00
Elias Fleckenstein
17ff0c9be5 No static_save for chest entities 2021-01-04 17:14:51 +01:00
Elias Fleckenstein
de810cee81 Fix chest migration in general 2021-01-04 17:10:07 +01:00
Elias Fleckenstein
e26a644df0 Fix ender chest migration 2021-01-04 17:02:36 +01:00
Elias Fleckenstein
ce4e86549b Enderchest Support 2021-01-04 11:26:07 +01:00
Elias Fleckenstein
41a364b319 Crack texture is now displayed 2021-01-03 20:08:53 +01:00
Elias Fleckenstein
84cd8195c6 Fix invalid migration of small chests 2021-01-03 19:05:07 +01:00
Elias Fleckenstein
2d9ec679c0 Fix floating chest entity 2021-01-03 18:55:41 +01:00
Elias Fleckenstein
978aa38196 Trapped chests support 2021-01-03 18:52:24 +01:00
Elias Fleckenstein
ae59f9fd3c Inventory + Screwdriver support 2021-01-03 18:16:12 +01:00
Elias Fleckenstein
ea938237d5 Animated Chests 2021-01-03 14:21:35 +01:00
Elias Fleckenstein
7c28bf8507 Silk Touch 2020-11-02 19:09:23 +01:00
kay27
c01c53af49 Prevent opening double chests with solid block(s) on the top 2020-09-30 16:42:52 +04:00
kay27
3cd30a559e sl4v & Nicu: Don't open chests if there is a full block above them, for 1-node normal & trapped chests 2020-09-30 00:32:28 +04:00
Elias Åström
e85c00ea02 Show custom name in UI of Chest and Shulker Box 2020-07-27 19:26:01 +02:00
Elias Åström
37c05cb840 Also save the name when a shulker is placed
Previously only the description was saved in the node meta.
2020-07-26 18:01:36 +02:00
dBeans
f961a72c33 Make shulker boxes preserve name when placed 2020-07-24 12:44:21 +02:00
Wuzzy
255893707b Fix dispensers placing useless shulker boxes 2020-07-10 18:01:26 +02:00
Wuzzy
c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy
6f12adcb03 Fix broken blast handling for chest/shulkerbox 2020-06-06 16:57:19 +02:00
Wuzzy
e268370452 Add fire metadata to many nodes (unused for now) 2020-04-18 23:24:42 +02:00
Wuzzy
24ab3e8f84 Fix LBM typos 2020-04-16 12:22:50 +02:00
Wuzzy
e9f259881f Add LBMs to update to new node formspecs of 0.60.0 2020-03-29 14:35:01 +02:00
David McMackins II
882937a1ab Fix bug where adding items to a double chest with shift-click would not complete stacks in the right chest 2020-03-24 20:20:32 +01:00
Wuzzy
7243a25fe6 Generate item slot images on the fly 2020-03-24 18:48:14 +01:00
Wuzzy
feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +01:00
Wuzzy
070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +01: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
4deb6eec20 Extra tooltips for mcl_chests 2020-03-08 08:50:21 +01:00
Wuzzy
3dcd986863 Fix shulker box recolor craft erasing contents 2020-01-18 04:46:41 +01:00
Wuzzy
b404e8b5bd Squash help entries for shulker boxes 2019-03-24 09:30:15 +01:00
Wuzzy
1719c3e4e1 Add LBMs to update formspecs of 4 nodes
Dispenser, dropper, ender chest, shulker box.
2019-03-21 16:08:29 +01:00
Wuzzy
9cef74c03b Replace GUI image texts with translatable labels 2019-03-16 05:21:27 +01:00
Wuzzy
e01ed8ab24 German translation: mcl_beds to mcl_chests 2019-03-14 06:20:05 +01:00
Wuzzy
6d6fc3f34c Disable active trapped chests at loading time 2019-03-09 07:59:07 +01:00
Wuzzy
ad8403adbd Add piston support for trapped chests 2019-03-09 07:23:10 +01:00
Wuzzy
225930a2c7 Constructing double chest part checks for neighbor
... and reverts to single chest if none found. Required for piston stuff.
2019-03-09 06:09:52 +01:00
Wuzzy
c6efa8a626 Close formspecs when double chest breaks 2019-03-09 05:51:58 +01:00