Skip to content

Commit 61256c8

Browse files
Merge pull request #15 from zeng-github01/fix-unbreakable
Add loot table to exposer block to enable item drop upon breaking
2 parents 65d77c3 + 7c286f3 commit 61256c8

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
mc_version=1.20.1
2-
mod_version=2.3.4
2+
mod_version=2.3.5
33
mapping_channel=official
44
forge_version=47.3.1

src/main/java/com/zengyj/exposer/block/BlockExposer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public BlockExposer() {
1818
}
1919

2020
public BlockDirection getDirection() {
21-
return BlockDirection.HORIZONTAL;
21+
return BlockDirection.NONE;
2222
}
2323

2424
@Nullable
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"type": "minecraft:block",
3+
"pools": [
4+
{
5+
"rolls": 1,
6+
"entries": [
7+
{
8+
"type": "minecraft:item",
9+
"name": "exposer:exposer"
10+
}
11+
],
12+
"conditions": [
13+
{
14+
"condition": "minecraft:survives_explosion"
15+
}
16+
]
17+
}
18+
]
19+
}

0 commit comments

Comments
 (0)