-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundation.txt
89 lines (62 loc) · 3.06 KB
/
foundation.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
--- Basic Models ---
Basic Chair Model < (all materials)
Basic Table Model < (all materials)
Carved Chair Model < (all materials)
Carved Table Model < (all materials)
Throne Model < (all materials)
Bench Model < (all materials)
There are 12 materials of wood in MC.
--- Chiseled Models ---
Each chiseled material has their own model.
11 existing models + 1 new for pale oak.
--- Notes ---
Tables are made up of two entities;
1. " *mat*Table " () - The legs of the model. Has 4 variants using the hammer. Has logic.
2. " Item Display " - The model that hides the trapdoor. Is constant.
Chairs are made up of two entities;
1. " Item Display " - Display
2. " Interaction " - Logic
note - might want to displace model when setting up seat position and combine those things there
(feature) - Should set tables automatically in this order.
1. Check surrounding tables in + formation
2. Update them using the four models, in four different directions (16 in total)
3. Use a bitmask to set them correctly (chatgpt)
The four leg models: Full, one-edge, one-corner, none
Secondary four leg models: Full, post-side, post-wall, none
Make a Netherite gold chair
Consider the remaining quartz, stone_brick, deepslate, blackstone, blackstone_brick, endstone, obsidian variants. Maybe copper variants all around?
Don't forget about chair carpets, these things can be added as it gets worked on.
--- File structure ---
-- table --
base_top_model (x1)
basic_types (x5)
leg_corner_models (x4)
material (x12) (folders)
leg_corner_material (x4)
base_model_material (x1)
carved_type (x1)
material (x12) (folders)
leg_corner_mat&model (x4)
base_model_mat&model (x1)
-- chair --
basic_type (x2)
base_model (x1)
material_base_model (x12)
carved_type (x2)
material_base_model (x12)
-- Reversion Plan ---
When you want to get rid of the datapack, I want there to be a promise that NOTHING WILL BREAK.
So here's the logic for how we could have something convert tables & chairs back into vanilla blocks.
- Save the positions of every table and chair placed in storage.
- When reverting, march through each one.
1. Teleport to the nearest furniture, while saving your old position and going into spectator. Has to be done because block replacements need to be in range.
2. Replace all furnitures with block-equivalents in a 12-block range, removing changed ones out the list. Also means conversion needs to happen with a 12-block render distance minimum.
3. When no more can be found, move over to a next batch, and repeat step 2 until we're all clear.
Will be organised into categories, [Overworld]>[Tables]+[Chairs], [Nether]>[Tables]+[Chairs], [End]>[Tables]+[Chairs], and will loop through respectively.
Large items when holding them.
Tables as shields?
Right-click interaction entity on table with block = place that block on top of the table
Commands to give you every table / chair item.
--- Table destruction idea ---
Check for tables without a block in them every two seconds
Trigger an advancement when damage is dealt to an axe, on the off-chance it is destroyed with one, so that it looks better.