Changes/fixes
This commit is contained in:
@@ -404,6 +404,10 @@ class Crate(
|
||||
override fun hashCode(): Int {
|
||||
return Objects.hash(this.id)
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "Crate{id=$id}"
|
||||
}
|
||||
}
|
||||
|
||||
private val openingCrates = mutableSetOf<UUID>()
|
||||
|
||||
@@ -24,7 +24,6 @@ class PlacedCrate(
|
||||
crate.hologramFrames.firstOrNull()?.lines ?: emptyList()
|
||||
)
|
||||
|
||||
private var currentFrameTick = 0
|
||||
private var currentFrame: HologramFrame? = null
|
||||
|
||||
private var item: Item? = null
|
||||
@@ -86,4 +85,8 @@ class PlacedCrate(
|
||||
animation.spawnParticle(location, tick, particle)
|
||||
}
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "PlacedCrate{crate=$crate,location=$location}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,14 +8,15 @@ crates:
|
||||
rows: 6
|
||||
mask:
|
||||
items:
|
||||
- gray_stained_glass_pane
|
||||
- black_stained_glass_pane
|
||||
pattern:
|
||||
- "111111111"
|
||||
- "100000001"
|
||||
- "100000001"
|
||||
- "100000001"
|
||||
- "100000001"
|
||||
- "111111111"
|
||||
- "222222222"
|
||||
- "211010112"
|
||||
- "201010102"
|
||||
- "201010102"
|
||||
- "201111102"
|
||||
- "222222222"
|
||||
|
||||
key:
|
||||
item: tripwire_hook unbreaking:1 hide_enchants name:"&aDemo Crate Key"
|
||||
@@ -106,7 +107,7 @@ crates:
|
||||
name: "&bDiamond"
|
||||
item: diamond
|
||||
lore: [ ]
|
||||
row: 2
|
||||
row: 3
|
||||
column: 2
|
||||
|
||||
- id: emerald
|
||||
@@ -123,8 +124,8 @@ crates:
|
||||
name: "&aEmerald"
|
||||
item: emerald
|
||||
lore: [ ]
|
||||
row: 2
|
||||
column: 3
|
||||
row: 4
|
||||
column: 2
|
||||
|
||||
- id: bedrock
|
||||
commands: [ ]
|
||||
@@ -140,5 +141,5 @@ crates:
|
||||
name: "<g:#00ffff>very cool demo bedrock</g:#00ff00>"
|
||||
item: bedrock
|
||||
lore: [ ]
|
||||
row: 2
|
||||
column: 4
|
||||
row: 5
|
||||
column: 2
|
||||
|
||||
Reference in New Issue
Block a user