mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2026-01-04 15:41:38 +00:00
Initial commit
This commit is contained in:
74
bukkit-loader/build.gradle.kts
Normal file
74
bukkit-loader/build.gradle.kts
Normal file
@@ -0,0 +1,74 @@
|
||||
plugins {
|
||||
id("com.gradleup.shadow") version "9.0.0-beta6"
|
||||
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven("https://jitpack.io/")
|
||||
maven("https://repo.papermc.io/repository/maven-public/")
|
||||
maven("https://repo.momirealms.net/releases/")
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Platform
|
||||
compileOnly("dev.folia:folia-api:${rootProject.properties["paper_version"]}-R0.1-SNAPSHOT")
|
||||
|
||||
implementation(project(":shared"))
|
||||
implementation(project(":core"))
|
||||
implementation(project(":bukkit"))
|
||||
implementation(project(":bukkit:legacy"))
|
||||
|
||||
implementation("net.kyori:adventure-platform-bukkit:${rootProject.properties["adventure_platform_version"]}")
|
||||
implementation("com.saicone.rtag:rtag-item:${rootProject.properties["rtag_version"]}")
|
||||
implementation("net.momirealms:sparrow-util:${rootProject.properties["sparrow_util_version"]}")
|
||||
implementation("com.github.Xiao-MoMi:AntiGriefLib:${rootProject.properties["anti_grief_version"]}")
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_21
|
||||
targetCompatibility = JavaVersion.VERSION_21
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(21)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
options.encoding = "UTF-8"
|
||||
options.release.set(21)
|
||||
dependsOn(tasks.clean)
|
||||
}
|
||||
|
||||
bukkit {
|
||||
load = net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder.POSTWORLD
|
||||
main = "net.momirealms.craftengine.bukkit.BukkitBootstrap"
|
||||
version = rootProject.properties["project_version"] as String
|
||||
name = "CraftEngine"
|
||||
apiVersion = "1.20"
|
||||
authors = listOf("XiaoMoMi")
|
||||
softDepend = listOf("PlaceholderAPI", "WorldEdit", "FastAsyncWorldEdit")
|
||||
foliaSupported = true
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives(tasks.shadowJar)
|
||||
}
|
||||
|
||||
tasks {
|
||||
shadowJar {
|
||||
archiveFileName = "${rootProject.name}-bukkit-plugin-${rootProject.properties["project_version"]}.jar"
|
||||
destinationDirectory.set(file("$rootDir/target"))
|
||||
relocate("net.kyori", "net.momirealms.craftengine.libraries")
|
||||
relocate("net.momirealms.sparrow.nbt", "net.momirealms.craftengine.libraries.nbt")
|
||||
relocate("net.momirealms.antigrieflib", "net.momirealms.craftengine.libraries.antigrieflib")
|
||||
relocate("com.saicone.rtag", "net.momirealms.craftengine.libraries.tag")
|
||||
relocate("org.incendo", "net.momirealms.craftengine.libraries")
|
||||
relocate("dev.dejvokep", "net.momirealms.craftengine.libraries")
|
||||
relocate("org.apache.commons.io", "net.momirealms.craftengine.libraries.commons.io")
|
||||
relocate("org.bstats", "net.momirealms.craftengine.libraries.bstats")
|
||||
relocate("com.github.benmanes.caffeine", "net.momirealms.craftengine.libraries.caffeine")
|
||||
relocate("net.objecthunter.exp4j", "net.momirealms.craftengine.libraries.exp4j")
|
||||
relocate("net.bytebuddy", "net.momirealms.craftengine.libraries.bytebuddy")
|
||||
relocate("org.yaml.snakeyaml", "net.momirealms.craftengine.libraries.snakeyaml")
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package net.momirealms.craftengine.bukkit;
|
||||
|
||||
import net.momirealms.craftengine.bukkit.plugin.BukkitCraftEngine;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class BukkitBootstrap extends JavaPlugin {
|
||||
private final BukkitCraftEngine plugin;
|
||||
|
||||
public BukkitBootstrap() {
|
||||
this.plugin = new BukkitCraftEngine(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad() {
|
||||
this.plugin.load();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
this.plugin.enable();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
this.plugin.disable();
|
||||
}
|
||||
}
|
||||
26
bukkit-loader/src/main/resources/additional-real-blocks.yml
Normal file
26
bukkit-loader/src/main/resources/additional-real-blocks.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
# This file will register an additional number of block states to the server, based on the mappings defined in mappings.yml.
|
||||
# If you're unsure what this means, you can read the following explanation below.
|
||||
|
||||
# Suppose you create a new type of leaf, but its appearance has only two states (waterlogged and normal).
|
||||
# However, because of the defined properties such as distance, persistent, and waterlogged, it requires at least 2x2x7 = 28 different block states.
|
||||
# By default, the plugin only registers the same number of block states as those defined in the mappings.yml file.
|
||||
# Therefore, during actual configuration, you will notice that the internal IDs are insufficient
|
||||
# (without configuring additional-real-block, one type of leaf can only provide 26 states, whereas creating a new leaf requires 28 states).
|
||||
# The purpose of this file is to register additional block states with the server when starting it, ensuring the correct mapping between real blocks and the visual appearance of fake blocks on the server.
|
||||
|
||||
# Some common questions:
|
||||
# Q: Do I need to restart the server for the changes to take effect?
|
||||
# A: Yes! Modifying the block registry while the server is running is extremely risky.
|
||||
# Q: When do I need to configure this file?
|
||||
# A: When the number of real block IDs is insufficient, but there are still available appearances.
|
||||
|
||||
# By default, the plugin only registers an additional 112 oak leaf block states (for the default configuration needs [>=28 states]).
|
||||
minecraft:oak_leaves: 112
|
||||
|
||||
minecraft:oak_sapling: 1
|
||||
minecraft:birch_sapling: 1
|
||||
minecraft:spruce_sapling: 1
|
||||
minecraft:jungle_sapling: 1
|
||||
minecraft:dark_oak_sapling: 1
|
||||
minecraft:acacia_sapling: 1
|
||||
minecraft:cherry_sapling: 1
|
||||
92
bukkit-loader/src/main/resources/blockstates.yml
Normal file
92
bukkit-loader/src/main/resources/blockstates.yml
Normal file
@@ -0,0 +1,92 @@
|
||||
minecraft:note_block:
|
||||
instrument=harp:
|
||||
model: "minecraft:block/note_block"
|
||||
minecraft:tripwire:
|
||||
attached=true,east=true,north=true,south=true,disarmed=true,west=true,powered=true:
|
||||
model: "minecraft:block/tripwire_attached_nsew"
|
||||
minecraft:red_mushroom_block:
|
||||
down=true,east=true,north=true,south=true,up=true,west=true:
|
||||
model: "minecraft:block/red_mushroom_block_inventory"
|
||||
minecraft:brown_mushroom_block:
|
||||
down=true,east=true,north=true,south=true,up=true,west=true:
|
||||
model: "minecraft:block/brown_mushroom_block_inventory"
|
||||
minecraft:mushroom_stem:
|
||||
down=true,east=true,north=true,south=true,up=true,west=true:
|
||||
model: "minecraft:block/mushroom_stem_inventory"
|
||||
minecraft:kelp:
|
||||
age=0:
|
||||
model: "minecraft:block/kelp"
|
||||
minecraft:weeping_vines:
|
||||
age=0:
|
||||
model: "minecraft:block/weeping_vines"
|
||||
minecraft:twisting_vines:
|
||||
age=0:
|
||||
model: "minecraft:block/twisting_vines"
|
||||
minecraft:cave_vines:
|
||||
age=0,berries=false:
|
||||
model: "minecraft:block/cave_vines"
|
||||
age=0,berries=true:
|
||||
model: "minecraft:block/cave_vines_lit"
|
||||
minecraft:sugar_cane:
|
||||
age=0:
|
||||
model: "minecraft:block/sugar_cane"
|
||||
minecraft:oak_leaves:
|
||||
distance=7,persistent=true:
|
||||
model: "minecraft:block/oak_leaves"
|
||||
minecraft:acacia_leaves:
|
||||
distance=7,persistent=true:
|
||||
model: "minecraft:block/acacia_leaves"
|
||||
minecraft:jungle_leaves:
|
||||
distance=7,persistent=true:
|
||||
model: "minecraft:block/jungle_leaves"
|
||||
minecraft:birch_leaves:
|
||||
distance=7,persistent=true:
|
||||
model: "minecraft:block/birch_leaves"
|
||||
minecraft:mangrove_leaves:
|
||||
distance=7,persistent=true:
|
||||
model: "minecraft:block/mangrove_leaves"
|
||||
minecraft:cherry_leaves:
|
||||
distance=7,persistent=true:
|
||||
model: "minecraft:block/cherry_leaves"
|
||||
minecraft:dark_oak_leaves:
|
||||
distance=7,persistent=true:
|
||||
model: "minecraft:block/dark_oak_leaves"
|
||||
minecraft:azalea_leaves:
|
||||
distance=7,persistent=true:
|
||||
model: "minecraft:block/azalea_leaves"
|
||||
minecraft:flowering_azalea_leaves:
|
||||
distance=7,persistent=true:
|
||||
model: "minecraft:block/flowering_azalea_leaves"
|
||||
minecraft:spruce_leaves:
|
||||
distance=7,persistent=true:
|
||||
model: "minecraft:block/spruce_leaves"
|
||||
minecraft:pale_oak_leaves:
|
||||
distance=7,persistent=true:
|
||||
model: "minecraft:block/pale_oak_leaves"
|
||||
minecraft:chorus_plant:
|
||||
down=true,east=true,north=true,south=true,up=true,west=true:
|
||||
model: "minecraft:block/default_chorus_plant"
|
||||
minecraft:oak_sapling:
|
||||
stage=0:
|
||||
model: "minecraft:block/oak_sapling"
|
||||
minecraft:birch_sapling:
|
||||
stage=0:
|
||||
model: "minecraft:block/birch_sapling"
|
||||
minecraft:spruce_sapling:
|
||||
stage=0:
|
||||
model: "minecraft:block/spruce_sapling"
|
||||
minecraft:jungle_sapling:
|
||||
stage=0:
|
||||
model: "minecraft:block/jungle_sapling"
|
||||
minecraft:dark_oak_sapling:
|
||||
stage=0:
|
||||
model: "minecraft:block/dark_oak_sapling"
|
||||
minecraft:acacia_sapling:
|
||||
stage=0:
|
||||
model: "minecraft:block/acacia_sapling"
|
||||
minecraft:cherry_sapling:
|
||||
stage=0:
|
||||
model: "minecraft:block/cherry_sapling"
|
||||
minecraft:pale_oak_sapling:
|
||||
stage=0:
|
||||
model: "minecraft:block/pale_oak_sapling"
|
||||
96
bukkit-loader/src/main/resources/commands.yml
Normal file
96
bukkit-loader/src/main/resources/commands.yml
Normal file
@@ -0,0 +1,96 @@
|
||||
#
|
||||
# Don't change this
|
||||
#
|
||||
config-version: "${config_version}"
|
||||
|
||||
#
|
||||
# For safety reasons, editing this file requires a restart to apply
|
||||
#
|
||||
|
||||
# A command to reload the plugin
|
||||
# Usage: [COMMAND]
|
||||
reload:
|
||||
enable: true
|
||||
permission: ce.command.reload
|
||||
usage:
|
||||
- /craftengine reload
|
||||
- /ce reload
|
||||
|
||||
get_item:
|
||||
enable: true
|
||||
permission: ce.command.get_item
|
||||
usage:
|
||||
- /craftengine item get
|
||||
- /ce item get
|
||||
|
||||
give_item:
|
||||
enable: true
|
||||
permission: ce.command.give_item
|
||||
usage:
|
||||
- /craftengine item give
|
||||
- /ce item give
|
||||
|
||||
item_browser:
|
||||
enable: true
|
||||
permission: ce.command.item_browser
|
||||
usage:
|
||||
- /craftengine item browser
|
||||
- /ce item browser
|
||||
- /ce
|
||||
|
||||
# Debug commands
|
||||
debug_set_block:
|
||||
enable: true
|
||||
permission: ce.command.debug.setblock
|
||||
usage:
|
||||
- /craftengine debug setblock
|
||||
- /ce debug setblock
|
||||
|
||||
debug_get_block_state_registry_id:
|
||||
enable: true
|
||||
permission: ce.command.debug.get_block_state_registry_id
|
||||
usage:
|
||||
- /craftengine debug get-block-state-registry-id
|
||||
- /ce debug get-block-state-registry-id
|
||||
|
||||
debug_get_block_internal_id:
|
||||
enable: true
|
||||
permission: ce.command.debug.get_block_internal_id
|
||||
usage:
|
||||
- /craftengine debug get-block-internal-id
|
||||
- /ce debug get-block-internal-id
|
||||
|
||||
debug_appearance_state_usage:
|
||||
enable: true
|
||||
permission: ce.command.debug.state_usage
|
||||
usage:
|
||||
- /craftengine debug appearance-state-usage
|
||||
- /ce debug appearance-state-usage
|
||||
|
||||
debug_real_state_usage:
|
||||
enable: true
|
||||
permission: ce.command.debug.state_usage
|
||||
usage:
|
||||
- /craftengine debug real-state-usage
|
||||
- /ce debug real-state-usage
|
||||
|
||||
debug_item_data:
|
||||
enable: true
|
||||
permission: ce.command.debug.item_data
|
||||
usage:
|
||||
- /craftengine debug item-data
|
||||
- /ce debug item-data
|
||||
|
||||
debug_target_block:
|
||||
enable: true
|
||||
permission: ce.command.debug.target_block
|
||||
usage:
|
||||
- /craftengine debug target-block
|
||||
- /ce debug target-block
|
||||
|
||||
debug_test:
|
||||
enable: true
|
||||
permission: ce.command.debug.test
|
||||
usage:
|
||||
- /craftengine debug test
|
||||
- /ce debug test
|
||||
252
bukkit-loader/src/main/resources/config.yml
Normal file
252
bukkit-loader/src/main/resources/config.yml
Normal file
@@ -0,0 +1,252 @@
|
||||
# Do not modify this value
|
||||
config-version: '${config_version}'
|
||||
# Enables or disables debug mode
|
||||
debug: false
|
||||
# Enables or disables metrics collection via BStats
|
||||
metrics: true
|
||||
# Enables automatic update checks
|
||||
update-checker: true
|
||||
# Forces a specific locale (e.g., zh_cn)
|
||||
forced-locale: ''
|
||||
|
||||
resource-pack:
|
||||
# Should those images in minecraft:default font also work in minecraft:uniform
|
||||
override-uniform-font: true
|
||||
|
||||
# Do not use this feature for the moment as it's under development
|
||||
# Do not use this feature for the moment as it's under development
|
||||
# Do not use this feature for the moment as it's under development
|
||||
# Resource pack protection
|
||||
protection:
|
||||
# Warning: Do not attempt to unzip the resource pack with crash tools enabled.
|
||||
# Warning: Do not attempt to unzip the resource pack with crash tools enabled.
|
||||
# Warning: Do not attempt to unzip the resource pack with crash tools enabled.
|
||||
# You can enable all the methods at the same time.
|
||||
crash-tools:
|
||||
method-1: false
|
||||
method-2: false
|
||||
method-3: false # Enable this would increase the resource pack size by 0.67MB
|
||||
# Please note that the primary purpose of obfuscation is to
|
||||
# unidirectionally transform your resource pack into a format with significantly
|
||||
# reduced readability, making it nearly impossible for thieves to
|
||||
# restore the original structure of the resource pack.
|
||||
# However, there is no 100% guarantee that it will not be reverse engineered.
|
||||
obfuscation:
|
||||
enable: false
|
||||
seed: 0 # 0 = random seed
|
||||
fake-directory: true
|
||||
escape-unicode: true
|
||||
resource-location:
|
||||
enable: true
|
||||
random-namespace:
|
||||
amount: 32 # 0 = disable
|
||||
length: 9
|
||||
random-path:
|
||||
source: obf
|
||||
depth: 16
|
||||
anti-unzip: false
|
||||
random-atlas:
|
||||
amount: 5 # 0 = disable
|
||||
use-double: true
|
||||
# Sometimes, some vanilla files that have been overwritten might be mistakenly obfuscated.
|
||||
# Please add the ignored textures/models/sounds here.
|
||||
bypass-textures:
|
||||
- minecraft:block/farmland
|
||||
bypass-models: []
|
||||
bypass-sounds: []
|
||||
|
||||
supported-version:
|
||||
min: "1.20"
|
||||
max: LATEST
|
||||
merge-external-folders:
|
||||
- ModelEngine/resource pack
|
||||
send:
|
||||
send-on-join: true
|
||||
send-on-reload: true
|
||||
kick-if-declined: true
|
||||
prompt: "<yellow>To fully experience our server, please accept our custom resource pack.</yellow>"
|
||||
# If you are hosting the resource pack by yourself, replace `localhost` with your server ip otherwise it would only work on your local pc
|
||||
# If using BungeeCord or Velocity, consider using a proxy-side plugin to handle resource pack delivery.
|
||||
mode: self-host # self-host/external-host/none
|
||||
self-host:
|
||||
ip: localhost
|
||||
port: 8163
|
||||
protocol: http
|
||||
deny-non-minecraft-request: true
|
||||
# If the path begins with `./` or `../`, it is treated as a relative path to the plugin folder.
|
||||
# Otherwise, it is considered an absolute path.
|
||||
local-file-path: "./generated/resource_pack.zip"
|
||||
rate-limit:
|
||||
max-requests: 3
|
||||
reset-interval: 30 # seconds
|
||||
external-host:
|
||||
url: ""
|
||||
sha1: ""
|
||||
uuid: ""
|
||||
duplicated-files-handler:
|
||||
- term:
|
||||
type: any_of
|
||||
terms:
|
||||
- type: parent_path_suffix
|
||||
suffix: "minecraft/items"
|
||||
- type: parent_path_suffix
|
||||
suffix: "minecraft/models/item"
|
||||
- type: parent_path_suffix
|
||||
suffix: "minecraft/atlases"
|
||||
resolution:
|
||||
type: merge_json
|
||||
deeply: true
|
||||
- term:
|
||||
type: exact
|
||||
path: "pack.mcmeta"
|
||||
resolution:
|
||||
type: retain_matching
|
||||
term:
|
||||
type: contains
|
||||
path: "resources/default/resourcepack/"
|
||||
- term:
|
||||
type: exact
|
||||
path: "pack.png"
|
||||
resolution:
|
||||
type: retain_matching
|
||||
term:
|
||||
type: contains
|
||||
path: "resources/default/resourcepack"
|
||||
- term:
|
||||
type: filename
|
||||
name: "sounds.json"
|
||||
resolution:
|
||||
type: merge_json
|
||||
deeply: false
|
||||
|
||||
item:
|
||||
# Add a <!i> tag on item name and lore
|
||||
non-italic-tag: false
|
||||
|
||||
block:
|
||||
sound-system:
|
||||
enable: true
|
||||
|
||||
furniture:
|
||||
# Should the plugin remove invalid furniture on chunk load
|
||||
remove-invalid-furniture-on-chunk-load:
|
||||
enable: false
|
||||
# If you want to remove all invalid furniture, please set this list to empty, otherwise only furniture in the list will be removed.
|
||||
list:
|
||||
- "xxx:invalid_furniture"
|
||||
|
||||
recipe:
|
||||
enable: true
|
||||
|
||||
gui:
|
||||
browser:
|
||||
sounds:
|
||||
change-page: "minecraft:ui.loom.take_result"
|
||||
return-page: "minecraft:ui.button.click"
|
||||
pick-item: "minecraft:entity.item.pickup"
|
||||
click-button: "minecraft:ui.hud.bubble_pop"
|
||||
main:
|
||||
title: "<white><shift:-11><image:internal:item_browser>"
|
||||
page-navigation:
|
||||
next:
|
||||
available: "internal:next_page_0"
|
||||
not-available: "internal:next_page_1"
|
||||
previous:
|
||||
available: "internal:previous_page_0"
|
||||
not-available: "internal:previous_page_1"
|
||||
category:
|
||||
title: "<white><shift:-11><image:internal:category>"
|
||||
page-navigation:
|
||||
next:
|
||||
available: "internal:next_page_0"
|
||||
not-available: "internal:next_page_1"
|
||||
previous:
|
||||
available: "internal:previous_page_0"
|
||||
not-available: "internal:previous_page_1"
|
||||
return: "internal:return"
|
||||
recipe:
|
||||
get-item-icon: internal:get_item
|
||||
cooking-information-icon: internal:cooking_info
|
||||
page-navigation:
|
||||
next:
|
||||
available: "internal:next_recipe_0"
|
||||
not-available: "internal:next_recipe_1"
|
||||
previous:
|
||||
available: "internal:previous_recipe_0"
|
||||
not-available: "internal:previous_recipe_1"
|
||||
return: "internal:return"
|
||||
none:
|
||||
title: "<white><shift:-11><image:internal:no_recipe>"
|
||||
blasting:
|
||||
title: "<white><shift:-11><image:internal:cooking_recipe><shift:-136><image:internal:blasting>"
|
||||
smelting:
|
||||
title: "<white><shift:-11><image:internal:cooking_recipe><shift:-136><image:internal:smelting>"
|
||||
smoking:
|
||||
title: "<white><shift:-11><image:internal:cooking_recipe><shift:-136><image:internal:smoking>"
|
||||
campfire:
|
||||
title: "<white><shift:-11><image:internal:cooking_recipe><shift:-136><image:internal:campfire>"
|
||||
crafting:
|
||||
title: "<white><shift:-11><image:internal:crafting_recipe>"
|
||||
stonecutting:
|
||||
title: "<white><shift:-11><image:internal:stonecutting_recipe>"
|
||||
|
||||
performance:
|
||||
# Maximum chain update depth when fixing client visuals
|
||||
max-block-chain-update-limit: 64
|
||||
light-system:
|
||||
enable: true
|
||||
# Turning this option on will reduce lighting system issues to some extent, but will increase server bandwidth consumption
|
||||
force-update-light: false
|
||||
chunk-system:
|
||||
# Disabling this option prevents the plugin from converting custom blocks to vanilla states when chunks are unloaded.
|
||||
# While this can improve performance, custom blocks will turn into air if the plugin is uninstalled.
|
||||
restore-vanilla-blocks-on-chunk-unload: true
|
||||
# If you disable this, it's a must to disable the above option.
|
||||
restore-custom-blocks-on-chunk-load: true
|
||||
|
||||
offset-characters:
|
||||
font: minecraft:offset_chars
|
||||
-1: '\uf800'
|
||||
-2: '\uf801'
|
||||
-3: '\uf802'
|
||||
-4: '\uf803'
|
||||
-5: '\uf804'
|
||||
-6: '\uf805'
|
||||
-7: '\uf806'
|
||||
-8: '\uf807'
|
||||
-9: '\uf808'
|
||||
-10: '\uf809'
|
||||
-11: '\uf80a'
|
||||
-12: '\uf80b'
|
||||
-13: '\uf80c'
|
||||
-14: '\uf80d'
|
||||
-15: '\uf80e'
|
||||
-16: '\uf80f'
|
||||
-24: '\uf810'
|
||||
-32: '\uf811'
|
||||
-48: '\uf812'
|
||||
-64: '\uf813'
|
||||
-128: '\uf814'
|
||||
-256: '\uf815'
|
||||
1: '\uf830'
|
||||
2: '\uf831'
|
||||
3: '\uf832'
|
||||
4: '\uf833'
|
||||
5: '\uf834'
|
||||
6: '\uf835'
|
||||
7: '\uf836'
|
||||
8: '\uf837'
|
||||
9: '\uf838'
|
||||
10: '\uf839'
|
||||
11: '\uf83a'
|
||||
12: '\uf83b'
|
||||
13: '\uf83c'
|
||||
14: '\uf83d'
|
||||
15: '\uf83e'
|
||||
16: '\uf83f'
|
||||
24: '\uf840'
|
||||
32: '\uf841'
|
||||
48: '\uf842'
|
||||
64: '\uf843'
|
||||
128: '\uf844'
|
||||
256: '\uf845'
|
||||
30
bukkit-loader/src/main/resources/craft-engine.properties
Normal file
30
bukkit-loader/src/main/resources/craft-engine.properties
Normal file
@@ -0,0 +1,30 @@
|
||||
config=${config_version}
|
||||
builder=${builder}
|
||||
supported-languages=${supported_languages}
|
||||
lang-version=${lang_version}
|
||||
legacy-templates=${legacy_model_templates_version}
|
||||
latest-templates=${latest_model_templates_version}
|
||||
latest-version=${latest_minecraft_version}
|
||||
asm=${asm_version}
|
||||
asm-commons=${asm_commons_version}
|
||||
jar-relocator=${jar_relocator_version}
|
||||
cloud-core=${cloud_core_version}
|
||||
cloud-services=${cloud_services_version}
|
||||
cloud-brigadier=${cloud_brigadier_version}
|
||||
cloud-bukkit=${cloud_bukkit_version}
|
||||
cloud-paper=${cloud_paper_version}
|
||||
cloud-minecraft-extras=${cloud_minecraft_extras_version}
|
||||
boosted-yaml=${boosted_yaml_version}
|
||||
bstats-base=${bstats_version}
|
||||
geantyref=${geantyref_version}
|
||||
gson=${gson_version}
|
||||
caffeine=${caffeine_version}
|
||||
slf4j-api=${slf4j_version}
|
||||
zstd-jni=${zstd_version}
|
||||
commons-io=${commons_io_version}
|
||||
byte-buddy=${byte_buddy_version}
|
||||
snake-yaml=${snake_yaml_version}
|
||||
adventure-text-minimessage=${adventure_bundle_version}
|
||||
adventure-text-serializer-gson=${adventure_bundle_version}
|
||||
adventure-text-serializer-json=${adventure_bundle_version}
|
||||
netty-codec-http=${netty_version}
|
||||
23122
bukkit-loader/src/main/resources/internal/sounds.json
Normal file
23122
bukkit-loader/src/main/resources/internal/sounds.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/acacia_boat"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/acacia_button_inventory"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/acacia_chest_boat"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/acacia_door"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/acacia_fence_inventory"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/acacia_fence_gate"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/acacia_hanging_sign"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/acacia_leaves"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/acacia_log"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/acacia_planks"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/acacia_pressure_plate"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:block/acacia_sapling"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/acacia_sign"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/acacia_slab"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/acacia_stairs"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/acacia_trapdoor_bottom"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/acacia_wood"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:block/activator_rail"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:item/template_spawn_egg"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:block/allium"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/amethyst_block"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"display": {
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, -90, 25 ],
|
||||
"translation": [ 0, 5, 0 ],
|
||||
"scale": [ 0.68, 0.68, 0.68 ]
|
||||
},
|
||||
"thirdperson_righthand": {
|
||||
"translation": [ 0, 4, 1 ],
|
||||
"scale": [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"head": {
|
||||
"translation": [ 0, 14, -5 ]
|
||||
},
|
||||
"gui": {
|
||||
"translation": [ 0, 2, 0 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:block/amethyst_cluster"
|
||||
},
|
||||
"display": {
|
||||
"head": {
|
||||
"translation": [ 0, 14, -5 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/amethyst_shard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/ancient_debris"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/andesite"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/andesite_slab"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/andesite_stairs"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/andesite_wall_inventory"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/angler_pottery_sherd"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/anvil"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/apple"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/archer_pottery_sherd"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/armadillo_scute"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:item/template_spawn_egg"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/armor_stand"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/arms_up_pottery_sherd"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/arrow"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/axolotl_bucket"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:item/template_spawn_egg"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/azalea"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/azalea_leaves"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:block/azure_bluet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/baked_potato"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/handheld",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/bamboo"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_block"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_button_inventory"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/bamboo_chest_raft"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/bamboo_door"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_fence_inventory"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_fence_gate"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/bamboo_hanging_sign"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_mosaic"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_mosaic_slab"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_mosaic_stairs"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_planks"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_pressure_plate"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/bamboo_raft"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/bamboo_sign"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_slab"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_stairs"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bamboo_trapdoor_bottom"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/barrel"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/barrier"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/basalt"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:item/template_spawn_egg"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/beacon"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/bedrock"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"parent": "minecraft:block/bee_nest_empty",
|
||||
"overrides" : [
|
||||
{
|
||||
"predicate" : {
|
||||
"honey_level" : 0
|
||||
},
|
||||
"model" : "item/bee_nest_empty"
|
||||
},
|
||||
{
|
||||
"predicate" : {
|
||||
"honey_level" : 1
|
||||
},
|
||||
"model" : "item/bee_nest_honey"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"parent": "minecraft:block/orientable_with_bottom",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/bee_nest_bottom",
|
||||
"front": "minecraft:block/bee_nest_front",
|
||||
"particle": "minecraft:block/bee_nest_side",
|
||||
"side": "minecraft:block/bee_nest_side",
|
||||
"top": "minecraft:block/bee_nest_top"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"parent": "minecraft:block/orientable_with_bottom",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/bee_nest_bottom",
|
||||
"front": "minecraft:block/bee_nest_front_honey",
|
||||
"particle": "minecraft:block/bee_nest_side",
|
||||
"side": "minecraft:block/bee_nest_side",
|
||||
"top": "minecraft:block/bee_nest_top"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:item/template_spawn_egg"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/beef"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"parent": "minecraft:block/beehive_empty",
|
||||
"overrides" : [
|
||||
{
|
||||
"predicate" : {
|
||||
"honey_level" : 0
|
||||
},
|
||||
"model" : "item/beehive_empty"
|
||||
},
|
||||
{
|
||||
"predicate" : {
|
||||
"honey_level" : 1
|
||||
},
|
||||
"model" : "item/beehive_honey"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"parent": "minecraft:block/orientable_with_bottom",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/beehive_end",
|
||||
"front": "minecraft:block/beehive_front",
|
||||
"particle": "minecraft:block/beehive_side",
|
||||
"side": "minecraft:block/beehive_side",
|
||||
"top": "minecraft:block/beehive_end"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"parent": "minecraft:block/orientable_with_bottom",
|
||||
"textures": {
|
||||
"bottom": "minecraft:block/beehive_end",
|
||||
"front": "minecraft:block/beehive_front_honey",
|
||||
"particle": "minecraft:block/beehive_side",
|
||||
"side": "minecraft:block/beehive_side",
|
||||
"top": "minecraft:block/beehive_end"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/beetroot"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/beetroot_seeds"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/beetroot_soup"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/bell"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"parent": "minecraft:block/big_dripleaf",
|
||||
"display": {
|
||||
"gui": {
|
||||
"rotation": [ 30, 225, 0 ],
|
||||
"translation": [ 0, -2, 0],
|
||||
"scale":[ 0.625, 0.625, 0.625 ]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [ 0, 0, 0 ],
|
||||
"translation": [ 0, 0, -1 ],
|
||||
"scale":[ 0.5, 0.5, 0.5 ]
|
||||
},
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ 0, 0, 0 ],
|
||||
"translation": [ 0, 1, 0 ],
|
||||
"scale": [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 0, 0 ],
|
||||
"translation": [ 1.13, 0, 1.13],
|
||||
"scale": [ 0.68, 0.68, 0.68 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/birch_boat"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/birch_button_inventory"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/birch_chest_boat"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/birch_door"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/birch_fence_inventory"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/birch_fence_gate"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/birch_hanging_sign"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/birch_leaves"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/birch_log"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:block/birch_planks"
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user