add resource pack
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"providers": [
|
||||||
|
{
|
||||||
|
"type": "bitmap",
|
||||||
|
"chars" : ["\uE108"],
|
||||||
|
"file": "unmei:gui/test.png",
|
||||||
|
"ascent": 13,
|
||||||
|
"height": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "space",
|
||||||
|
"advances" : { "\uE000": -8, "\uE001": -169 }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"model": {
|
||||||
|
"type": "minecraft:model",
|
||||||
|
"model": "unmei:item/axe",
|
||||||
|
"tints": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:constant",
|
||||||
|
"value": [1,1,1]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:custom_model_data",
|
||||||
|
"default": 16777215
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"oversized_in_gui": true,
|
||||||
|
"model": {
|
||||||
|
"type": "minecraft:condition",
|
||||||
|
"property": "minecraft:carried",
|
||||||
|
"on_true": {
|
||||||
|
"type": "minecraft:empty"
|
||||||
|
},
|
||||||
|
"on_false": {
|
||||||
|
"type": "minecraft:model",
|
||||||
|
"model":"unmei:item/gui/left_arrow"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"oversized_in_gui": true,
|
||||||
|
"model": {
|
||||||
|
"type": "minecraft:condition",
|
||||||
|
"property": "minecraft:carried",
|
||||||
|
"on_true": {
|
||||||
|
"type": "minecraft:empty"
|
||||||
|
},
|
||||||
|
"on_false": {
|
||||||
|
"type": "minecraft:model",
|
||||||
|
"model":"unmei:item/gui/right_arrow"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"parent": "minecraft:item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "unmei:item/stick",
|
||||||
|
"layer1": "unmei:item/axe_1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"format_version": "1.21.11",
|
||||||
|
"texture_size": [18, 18],
|
||||||
|
"textures": {
|
||||||
|
"particle": "#0"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"from": [-1, 0, -1],
|
||||||
|
"to": [17, 0, 17],
|
||||||
|
"faces": {
|
||||||
|
"up": {"uv": [0, 0, 16, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gui_light": "front",
|
||||||
|
"display": {
|
||||||
|
"gui": {
|
||||||
|
"rotation": [90, 0, 0],
|
||||||
|
"translation": [0, 0.01, 0]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "unmei:item/gui/button",
|
||||||
|
"textures": {
|
||||||
|
"0": "unmei:item/gui/left_arrow"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "unmei:item/gui/button",
|
||||||
|
"textures": {
|
||||||
|
"0": "unmei:item/gui/right_arrow"
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 232 B |
Binary file not shown.
|
After Width: | Height: | Size: 196 B |
Binary file not shown.
|
After Width: | Height: | Size: 203 B |
Binary file not shown.
|
After Width: | Height: | Size: 204 B |
Binary file not shown.
|
After Width: | Height: | Size: 167 B |
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"pack": {
|
||||||
|
"description": "Random",
|
||||||
|
"min_format": 88,
|
||||||
|
"max_format": 88
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -5,9 +5,6 @@ import org.bukkit.event.Listener
|
|||||||
import org.bukkit.event.block.Action
|
import org.bukkit.event.block.Action
|
||||||
import org.bukkit.event.player.PlayerInteractEvent
|
import org.bukkit.event.player.PlayerInteractEvent
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class PlayerEvents : Listener {
|
class PlayerEvents : Listener {
|
||||||
@EventHandler
|
@EventHandler
|
||||||
fun rightClick (event : PlayerInteractEvent){
|
fun rightClick (event : PlayerInteractEvent){
|
||||||
|
|||||||
Reference in New Issue
Block a user