Oraxen
Search…
Directional mechanic
only for 1.135.1+

What is this?

This mechanic allows you to place blocks and have them change their texture depending on the position in which they are placed, like the normal minecraft logs but now with custom blocks.

Configuration

1
#This is simply meant to be a "hub" item
2
mainBlock:
3
displayname: "<white>Frozen Mushroom Stem"
4
material: PAPER
5
Pack:
6
generate_model: false
7
model: mainBlockModel
8
custom_model_data: 411
9
Mechanics:
10
noteblock:
11
model: mainBlockModel
12
custom_variation: 1
13
directional:
14
yBlock: mainBlockY #Y position of the block
15
xBlock: mainBlockX #X position of the block
16
zBlock: mainBlockZ #Z position of the block
17
hardness: 1
18
drop:
19
minimal_type: WOOD
20
best_tools:
21
- AXE
22
silktouch: false
23
loots:
24
- {oraxen_item: mainBlock, probability: 1.0}
25
26
mainBlockY:
27
excludeFromInventory: true # Makes inventory only contain base-block
28
material: PAPER
29
Mechanics:
30
noteblock:
31
model: mainBlockModel
32
custom_variation: 1
33
directional:
34
parentBlock: mainBlock #base block which will give drop
35
36
mainBlockX:
37
excludeFromInventory: true # Makes inventory only contain base-block
38
material: PAPER
39
Mechanics:
40
noteblock:
41
model: mainBlockModel
42
custom_variation: 2
43
directional:
44
parentBlock: mainBlock #base block which will give drop
45
46
mainBlockZ:
47
excludeFromInventory: true # Makes inventory only contain base-block
48
material: PAPER
49
Mechanics:
50
noteblock:
51
model: mainBlockModel
52
custom_variation: 3
53
directional:
54
parentBlock: mainBlock #base block which will give drop
Copied!