@@ -0,0 +1,15 @@
|
||||
package dev.zxq5.client.mixin;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(Minecraft.class)
|
||||
public class ExampleClientMixin {
|
||||
@Inject(at = @At("HEAD"), method = "run")
|
||||
private void init(CallbackInfo info) {
|
||||
// This code is injected into the start of Minecraft.run()V
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package dev.zxq5.client
|
||||
|
||||
import net.fabricmc.api.ClientModInitializer
|
||||
|
||||
object FantasysmpClient : ClientModInitializer {
|
||||
override fun onInitializeClient() {
|
||||
// This entrypoint is suitable for setting up client-specific logic, such as rendering.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package dev.zxq5.client
|
||||
|
||||
import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint
|
||||
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
|
||||
|
||||
object FantasysmpDataGenerator : DataGeneratorEntrypoint {
|
||||
override fun onInitializeDataGenerator(fabricDataGenerator: FabricDataGenerator) {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "dev.zxq5.client.mixin",
|
||||
"compatibilityLevel": "JAVA_25",
|
||||
"client": [
|
||||
"ExampleClientMixin"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
},
|
||||
"overwrites": {
|
||||
"requireAnnotations": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package dev.zxq5.mixin;
|
||||
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(MinecraftServer.class)
|
||||
public class ExampleMixin {
|
||||
@Inject(at = @At("HEAD"), method = "loadLevel")
|
||||
private void init(CallbackInfo info) {
|
||||
// This code is injected into the start of MinecraftServer.loadLevel()V
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package dev.zxq5
|
||||
|
||||
import dev.zxq5.items.ModItems
|
||||
import dev.zxq5.items.ModItems.CUSTOM_CREATIVE_TAB
|
||||
import dev.zxq5.items.ModItems.CUSTOM_CREATIVE_TAB_KEY
|
||||
import net.fabricmc.api.ModInitializer
|
||||
import net.minecraft.core.Registry
|
||||
import net.minecraft.core.registries.BuiltInRegistries
|
||||
import net.minecraft.world.item.Item
|
||||
import org.slf4j.LoggerFactory
|
||||
|
||||
object Fantasysmp : ModInitializer {
|
||||
|
||||
const val MOD_ID = "fantasysmp"
|
||||
|
||||
private val logger = LoggerFactory.getLogger("fantasysmp")
|
||||
|
||||
override fun onInitialize() {
|
||||
// This code runs as soon as Minecraft is in a mod-load-ready state.
|
||||
// However, some things (like resources) may still be uninitialized.
|
||||
// Proceed with mild caution.
|
||||
logger.info("Hello Fabric world!")
|
||||
ModItems.init();
|
||||
// Register the group.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package dev.zxq5.items
|
||||
|
||||
import dev.zxq5.Fantasysmp
|
||||
import dev.zxq5.items.Witherite.WITHERITE_HELMET
|
||||
import dev.zxq5.items.Witherite.WITHERITE_SWORD
|
||||
import net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTab
|
||||
import net.minecraft.core.Registry
|
||||
import net.minecraft.core.component.DataComponents
|
||||
import net.minecraft.core.registries.BuiltInRegistries
|
||||
import net.minecraft.core.registries.Registries
|
||||
import net.minecraft.network.chat.Component
|
||||
import net.minecraft.resources.Identifier
|
||||
import net.minecraft.resources.ResourceKey
|
||||
import net.minecraft.world.item.*
|
||||
import net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator
|
||||
import net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters
|
||||
import net.minecraft.world.item.component.ItemLore
|
||||
import net.minecraft.world.item.equipment.ArmorMaterials
|
||||
import net.minecraft.world.item.equipment.ArmorType
|
||||
import java.util.List
|
||||
import java.util.function.Supplier
|
||||
|
||||
|
||||
object ModItems {
|
||||
fun <T : Item> register(
|
||||
name: String,
|
||||
itemFactory: (Item.Properties) -> T,
|
||||
settings: Item.Properties
|
||||
): T {
|
||||
val itemKey = ResourceKey.create(Registries.ITEM, Identifier.fromNamespaceAndPath(Fantasysmp.MOD_ID, name))
|
||||
val item = itemFactory(settings.setId(itemKey))
|
||||
Registry.register(BuiltInRegistries.ITEM, itemKey, item)
|
||||
return item
|
||||
}
|
||||
|
||||
val CUSTOM_CREATIVE_TAB_KEY: ResourceKey<CreativeModeTab> = ResourceKey.create<CreativeModeTab>(
|
||||
BuiltInRegistries.CREATIVE_MODE_TAB.key(), Identifier.fromNamespaceAndPath(Fantasysmp.MOD_ID, "creative_tab")
|
||||
)
|
||||
|
||||
val CUSTOM_CREATIVE_TAB: CreativeModeTab = FabricCreativeModeTab.builder()
|
||||
.icon(Supplier { ItemStack(WITHERITE_SWORD) })
|
||||
.title(Component.translatable("Fantasysmp"))
|
||||
.displayItems(DisplayItemsGenerator { params: ItemDisplayParameters, output: CreativeModeTab.Output ->
|
||||
Witherite.ITEMS.forEach { output.accept(it) }
|
||||
})
|
||||
.build()
|
||||
|
||||
fun init() {
|
||||
Witherite.init();
|
||||
|
||||
Registry.register(BuiltInRegistries.CREATIVE_MODE_TAB, CUSTOM_CREATIVE_TAB_KEY, CUSTOM_CREATIVE_TAB);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
package dev.zxq5.items
|
||||
|
||||
import dev.zxq5.Fantasysmp
|
||||
import dev.zxq5.items.ModItems.register
|
||||
import net.minecraft.network.chat.Component
|
||||
import net.minecraft.resources.Identifier
|
||||
import net.minecraft.resources.ResourceKey
|
||||
import net.minecraft.sounds.SoundEvents
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.tags.ItemTags
|
||||
import net.minecraft.world.InteractionHand
|
||||
import net.minecraft.world.InteractionResult
|
||||
import net.minecraft.world.entity.Entity
|
||||
import net.minecraft.world.entity.EntityType
|
||||
import net.minecraft.world.entity.player.Player
|
||||
import net.minecraft.world.entity.projectile.hurtingprojectile.WitherSkull
|
||||
import net.minecraft.world.item.Item
|
||||
import net.minecraft.world.item.ToolMaterial
|
||||
import net.minecraft.world.item.equipment.*
|
||||
import net.minecraft.world.level.Level
|
||||
|
||||
|
||||
object Witherite {
|
||||
val base_durability = 40;
|
||||
val witherite_material_key: ResourceKey<EquipmentAsset> = ResourceKey.create<EquipmentAsset>(
|
||||
EquipmentAssets.ROOT_ID,
|
||||
Identifier.fromNamespaceAndPath(Fantasysmp.MOD_ID, "witherite")
|
||||
)
|
||||
|
||||
val armorMaterial = ArmorMaterial(
|
||||
base_durability,
|
||||
mapOf(
|
||||
ArmorType.HELMET to 3,
|
||||
ArmorType.CHESTPLATE to 8,
|
||||
ArmorType.LEGGINGS to 6,
|
||||
ArmorType.BOOTS to 3,
|
||||
ArmorType.BODY to 19,
|
||||
),
|
||||
5,
|
||||
SoundEvents.ARMOR_EQUIP_NETHERITE,
|
||||
3.0f,
|
||||
0.1f,
|
||||
ItemTags.REPAIRS_NETHERITE_ARMOR,
|
||||
witherite_material_key,
|
||||
)
|
||||
|
||||
val WITHERITE_SWORD = register("witherite_sword", ::WitheriteSword,
|
||||
Item.Properties().sword(ToolMaterial.NETHERITE, 3.0F, -2.4F)
|
||||
)
|
||||
val WITHERITE_HELMET = register(
|
||||
"witherite_helmet",
|
||||
::Item,
|
||||
Item.Properties().humanoidArmor(armorMaterial , ArmorType.HELMET)
|
||||
.durability(ArmorType.HELMET.getDurability(armorMaterial.durability))
|
||||
)
|
||||
|
||||
val WITHERITE_CHESTPLATE = register(
|
||||
"witherite_chestplate",
|
||||
::Item,
|
||||
Item.Properties().humanoidArmor(armorMaterial , ArmorType.CHESTPLATE)
|
||||
.durability(ArmorType.CHESTPLATE.getDurability(armorMaterial.durability))
|
||||
)
|
||||
|
||||
val WITHERITE_LEGGINGS = register(
|
||||
"witherite_leggings",
|
||||
::Item,
|
||||
Item.Properties().humanoidArmor(armorMaterial , ArmorType.LEGGINGS)
|
||||
.durability(ArmorType.LEGGINGS.getDurability(armorMaterial.durability))
|
||||
)
|
||||
|
||||
val WITHERITE_BOOTS = register(
|
||||
"witherite_boots",
|
||||
::Item,
|
||||
Item.Properties().humanoidArmor(armorMaterial , ArmorType.BOOTS)
|
||||
.durability(ArmorType.BOOTS.getDurability(armorMaterial.durability))
|
||||
)
|
||||
|
||||
val ITEMS = listOf(WITHERITE_SWORD, WITHERITE_HELMET, WITHERITE_CHESTPLATE, WITHERITE_LEGGINGS, WITHERITE_BOOTS)
|
||||
|
||||
fun init() {}
|
||||
}
|
||||
|
||||
class WitheriteSword(properties: Properties) : Item(properties) {
|
||||
override fun use(level: Level, user: Player, hand: InteractionHand): InteractionResult {
|
||||
if (level.isClientSide) {
|
||||
return InteractionResult.PASS;
|
||||
}
|
||||
|
||||
val skull = WitherSkull(EntityType.WITHER_SKULL, level)
|
||||
skull.setPos(user.eyePosition)
|
||||
skull.deltaMovement = user.lookAngle
|
||||
level.addFreshEntity(skull)
|
||||
skull.playSound(SoundEvents.WITHER_SHOOT)
|
||||
return InteractionResult.SUCCESS;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"layers": {
|
||||
"humanoid": [
|
||||
{
|
||||
"texture": "fantasysmp:alchemist"
|
||||
}
|
||||
],
|
||||
"humanoid_leggings": [
|
||||
{
|
||||
"texture": "fantasysmp:alchemist"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"layers": {
|
||||
"humanoid": [
|
||||
{
|
||||
"texture": "fantasysmp:blazing"
|
||||
}
|
||||
],
|
||||
"humanoid_leggings": [
|
||||
{
|
||||
"texture": "fantasysmp:blazing"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"layers": {
|
||||
"humanoid": [
|
||||
{
|
||||
"texture": "fantasysmp:crimson"
|
||||
}
|
||||
],
|
||||
"humanoid_leggings": [
|
||||
{
|
||||
"texture": "fantasysmp:crimson"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"layers": {
|
||||
"humanoid": [
|
||||
{
|
||||
"texture": "fantasysmp:dragon"
|
||||
}
|
||||
],
|
||||
"humanoid_leggings": [
|
||||
{
|
||||
"texture": "fantasysmp:dragon"
|
||||
}
|
||||
],
|
||||
"wings": [
|
||||
{
|
||||
"texture": "fantasysmp:dragon",
|
||||
"use_player_texture": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"layers": {
|
||||
"humanoid": [
|
||||
{
|
||||
"texture": "fantasysmp:ender"
|
||||
}
|
||||
],
|
||||
"humanoid_leggings": [
|
||||
{
|
||||
"texture": "fantasysmp:ender"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"layers": {
|
||||
"humanoid": [
|
||||
{
|
||||
"texture": "fantasysmp:mechanist"
|
||||
}
|
||||
],
|
||||
"humanoid_leggings": [
|
||||
{
|
||||
"texture": "fantasysmp:mechanist"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"layers": {
|
||||
"humanoid": [
|
||||
{
|
||||
"texture": "fantasysmp:poseidon"
|
||||
}
|
||||
],
|
||||
"humanoid_leggings": [
|
||||
{
|
||||
"texture": "fantasysmp:poseidon"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"layers": {
|
||||
"humanoid": [
|
||||
{
|
||||
"texture": "fantasysmp:true_netherite"
|
||||
}
|
||||
],
|
||||
"humanoid_leggings": [
|
||||
{
|
||||
"texture": "fantasysmp:true_netherite"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"layers": {
|
||||
"humanoid": [
|
||||
{
|
||||
"texture": "fantasysmp:witherite"
|
||||
}
|
||||
],
|
||||
"humanoid_leggings": [
|
||||
{
|
||||
"texture": "fantasysmp:witherite"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/alchemist_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/alchemist_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/alchemist_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/alchemist_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/alchemist_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/blazing_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/blazing_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/blazing_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/blazing_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/blazing_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/crimson_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/dragon_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/dragon_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/dragon_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/dragon_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/dragon_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/ender_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/ender_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/ender_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/ender_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/ender_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/lightning_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:condition",
|
||||
"on_false": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/mechanist_bow"
|
||||
},
|
||||
"on_true": {
|
||||
"type": "minecraft:range_dispatch",
|
||||
"entries": [
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/mechanist_bow_pulling_1"
|
||||
},
|
||||
"threshold": 0.65
|
||||
},
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/mechanist_bow_pulling_2"
|
||||
},
|
||||
"threshold": 0.9
|
||||
}
|
||||
],
|
||||
"fallback": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/mechanist_bow_pulling_0"
|
||||
},
|
||||
"property": "minecraft:use_duration",
|
||||
"scale": 0.05
|
||||
},
|
||||
"property": "minecraft:using_item"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:select",
|
||||
"cases": [
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/mechanist_crossbow_arrow"
|
||||
},
|
||||
"when": "arrow"
|
||||
},
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/mechanist_crossbow_firework"
|
||||
},
|
||||
"when": "rocket"
|
||||
}
|
||||
],
|
||||
"fallback": {
|
||||
"type": "minecraft:condition",
|
||||
"on_false": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/mechanist_crossbow"
|
||||
},
|
||||
"on_true": {
|
||||
"type": "minecraft:range_dispatch",
|
||||
"entries": [
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/mechanist_crossbow_pulling_1"
|
||||
},
|
||||
"threshold": 0.58
|
||||
},
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/mechanist_crossbow_pulling_2"
|
||||
},
|
||||
"threshold": 1.0
|
||||
}
|
||||
],
|
||||
"fallback": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/mechanist_crossbow_pulling_0"
|
||||
},
|
||||
"property": "minecraft:crossbow/pull"
|
||||
},
|
||||
"property": "minecraft:using_item"
|
||||
},
|
||||
"property": "minecraft:charge_type"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/poseidons_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/poseidons_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/poseidons_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/poseidons_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/poseidons_trident"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/stevens_wrath"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/true_netherite_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/true_netherite_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/true_netherite_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/true_netherite_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/true_netherite_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/witherite_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/witherite_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/witherite_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/witherite_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "fantasysmp:item/witherite_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"item.fantasysmp.witherite_sword": "Witherite Sword",
|
||||
"item.fantasysmp.witherite_helmet": "Witherite Helmet",
|
||||
"item.fantasysmp.witherite_chestplate": "Witherite Chestplate",
|
||||
"item.fantasysmp.witherite_leggings": "Witherite Leggings",
|
||||
"item.fantasysmp.witherite_boots": "Witherite Boots"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_boots",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/alchemist_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_chestplate",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/alchemist_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_helmet",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/alchemist_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_leggings",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/alchemist_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_sword",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/alchemist_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_boots",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/blazing_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_chestplate",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/blazing_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_helmet",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/blazing_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_leggings",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/blazing_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_sword",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/blazing_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_sword",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/crimson_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_boots",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/dragon_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_chestplate",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/dragon_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_helmet",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/dragon_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_leggings",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/dragon_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_sword",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/dragon_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_boots",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/ender_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_chestplate",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/ender_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_helmet",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/ender_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_leggings",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/ender_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/diamond_sword",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/ender_sword"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "item/netherite_sword",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/lightning_sword"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "item/mechanist_bow"
|
||||
},
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ -80, 260, -40 ],
|
||||
"translation": [ -1, -2, 2.5 ],
|
||||
"scale": [ 0.9, 0.9, 0.9 ]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"rotation": [ -80, -280, 40 ],
|
||||
"translation": [ -1, -2, 2.5 ],
|
||||
"scale": [ 0.9, 0.9, 0.9 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, -90, 25 ],
|
||||
"translation": [ 1.13, 3.2, 1.13],
|
||||
"scale": [ 0.68, 0.68, 0.68 ]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [ 0, 90, -25 ],
|
||||
"translation": [ 1.13, 3.2, 1.13],
|
||||
"scale": [ 0.68, 0.68, 0.68 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/bow",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/mechanist_bow_pulling_2"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/bow",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/mechanist_bow_pulling_1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/bow",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/mechanist_bow_pulling_2"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "item/mechanist_crossbow_standby"
|
||||
},
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ -90, 0, -60 ],
|
||||
"translation": [ 2, 0.1, -3 ],
|
||||
"scale": [ 0.9, 0.9, 0.9 ]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"rotation": [ -90, 0, 30 ],
|
||||
"translation": [ 2, 0.1, -3 ],
|
||||
"scale": [ 0.9, 0.9, 0.9 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ -90, 0, -55 ],
|
||||
"translation": [ 1.13, 3.2, 1.13],
|
||||
"scale": [ 0.68, 0.68, 0.68 ]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [ -90, 0, 35 ],
|
||||
"translation": [ 1.13, 3.2, 1.13],
|
||||
"scale": [ 0.68, 0.68, 0.68 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/crossbow",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/mechanist_crossbow_arrow"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/crossbow",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/mechanist_crossbow_firework"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/crossbow",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/mechanist_crossbow_pulling_0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/crossbow",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/mechanist_crossbow_pulling_1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/crossbow",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/mechanist_crossbow_pulling_2"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_boots",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/poseidons_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_chestplate",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/poseidons_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_helmet",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/poseidons_helmet"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_leggings",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/poseidons_leggings"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/trident",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/poseidons_trident"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"parent": "item/netherite_sword",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ 0, -90, 55 ],
|
||||
"translation": [ 0, 12, -1 ],
|
||||
"scale": [ 2.0, 2.0, 1.25 ]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"rotation": [ 0, 90, -55 ],
|
||||
"translation": [ 0, 12, -1 ],
|
||||
"scale": [ 2.0, 2.0, 1.25 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, -90, 40 ],
|
||||
"translation": [ 1.13, 3.2, 1.13 ],
|
||||
"scale": [ 1.5, 1.5, 1.5 ]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [ 0, 90, -40 ],
|
||||
"translation": [ 1.13, 3.2, 1.13 ],
|
||||
"scale": [ 1.5, 1.5, 1.5 ]
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/stevens_wrath"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_boots",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/true_netherite_boots"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_chestplate",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/true_netherite_chestplate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/netherite_helmet",
|
||||
"textures": {
|
||||
"layer0": "fantasysmp:item/true_netherite_helmet"
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user