write shit
|
@ -3,8 +3,8 @@
|
|||
|**材料**|可种植|用原版代替|和村民交易|可由加工得来|野外采集|矿物|未映射|
|
||||
|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
||||
|嘟嘟莲|||||一次性,沼泽|||
|
||||
|石珀||||||√||
|
||||
|蒲公英籽|||||可反复|||
|
||||
|石珀||||||恶地||
|
||||
|蒲公英籽|||||一次性|||
|
||||
|绝云椒椒|||||可反复|||
|
||||
|小灯草|||||一次性|||
|
||||
|琉璃袋||兰花||||||
|
||||
|
@ -20,7 +20,7 @@
|
|||
|面粉||||√||||
|
||||
|甜甜花|||||一次性|||
|
||||
|洋葱|√|||||||
|
||||
|熏禽肉|||||||√|
|
||||
|熏禽肉|||屠夫|||||
|
||||
|卷心菜|√|||||||
|
||||
|树莓|||||可反复|||
|
||||
|土豆||√||||||
|
||||
|
@ -61,7 +61,7 @@
|
|||
|竹笋|||||||√|
|
||||
|发光髓|||||||√|
|
||||
|「冷鲜肉」|||||||√|
|
||||
|星银矿石||||||√||
|
||||
|星银矿石||||||高山||
|
||||
|奇异的「牙齿」|||||||√|
|
||||
|汲取了生命力的龙牙|||||||√|
|
||||
|马尾|||||一次性,沼泽|||
|
||||
|
@ -73,19 +73,21 @@
|
|||
|北陆法器原胚|||||||√|
|
||||
|苹果||√||||||
|
||||
|日落果|||||白桦树叶掉落|||
|
||||
|塞西莉亚花|||||一次性|||
|
||||
|塞西莉亚花|||||一次性,高山|||
|
||||
|琉璃百合|||||一次性|||
|
||||
|夜泊石||||||√||
|
||||
|夜泊石||||||恶地||
|
||||
|慕风蘑菇|||||一次性|||
|
||||
|霓裳花|||||可反复|||
|
||||
|落落莓|||||可反复|||
|
||||
|风车菊|||||一次性|||
|
||||
|钩钩果|||||可反复|||
|
||||
|清心|||||一次性|||
|
||||
|清心|||||一次性,高山|||
|
||||
|星螺|||牧师|||||
|
||||
|
||||
* 所有可种植物品,加入农民一级收购列表,尝试将这些作物设为农民可接受的作物,就像原版作物一样,如果不行就将作物种子设定为流浪商人贩卖
|
||||
* 野外采集的,一次性表示类似于花的处理方式,采完就没了,可用刷花机量产。可反复表示类似于浆果丛的处理方式,可以反复采摘,但是只能在原地采摘,不能重新集中化种植。树叶掉落的,按照类似橡木树叶掉落苹果的方式处理掉落。后面标识沼泽等Biome的,按类似于兰花只在沼泽Biome生成的这种特性进行生成。其他未标识的,按普通花的生成方式生成。
|
||||
* 野外采集的,一次性表示类似于花的处理方式,采完就没了,可用刷花机量产。可反复表示类似于浆果丛的处理方式,可以反复采摘,但是只能在原地采摘,不能重新集中化种植。树叶掉落的,按照类似橡木树叶掉落苹果的方式处理掉落。
|
||||
* 后面标识沼泽等生物群系的,按类似于兰花只在沼泽生物群系生成,绿宝石只在高山生物群系的这种特性进行生成。其他未标识的,则在主世界普遍生成。
|
||||
* 所有不在特殊生物群系的类花植物,将加入繁花森林生成。
|
||||
|
||||
# 食物与药水
|
||||
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
package net.yyc12345.teyvatcraft.blocks;
|
||||
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.block.CropBlock;
|
||||
import net.minecraft.block.Material;
|
||||
import net.minecraft.block.ShapeContext;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemConvertible;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
import net.minecraft.util.ActionResult;
|
||||
import net.minecraft.util.Hand;
|
||||
import net.minecraft.util.hit.BlockHitResult;
|
||||
|
@ -29,8 +32,8 @@ public class TeyvatCropBlock extends CropBlock {
|
|||
|
||||
private Item seed;
|
||||
|
||||
public TeyvatCropBlock(Settings settings) {
|
||||
super(settings);
|
||||
public TeyvatCropBlock() {
|
||||
super(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
package net.yyc12345.teyvatcraft.blocks;
|
||||
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
import net.minecraft.block.FlowerBlock;
|
||||
import net.minecraft.block.Material;
|
||||
import net.minecraft.entity.effect.StatusEffects;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
|
||||
public class TeyvatFlowerLikePlantBlock extends FlowerBlock {
|
||||
public TeyvatFlowerLikePlantBlock() {
|
||||
super(StatusEffects.LUCK, 1, FabricBlockSettings.of(Material.PLANT).noCollision().breakInstantly().sounds(BlockSoundGroup.GRASS));
|
||||
}
|
||||
}
|
|
@ -16,15 +16,20 @@ import net.minecraft.util.hit.BlockHitResult;
|
|||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class TeyvatHarvestablePlantBlock extends SweetBerryBushBlock {
|
||||
public class TeyvatSweetBerryBushLikePlantBlock extends SweetBerryBushBlock {
|
||||
|
||||
private Item droppedItem;
|
||||
|
||||
public TeyvatHarvestablePlantBlock(Settings settings, Item droppedItem) {
|
||||
public TeyvatSweetBerryBushLikePlantBlock(Settings settings, Item droppedItem) {
|
||||
super(settings);
|
||||
this.droppedItem = droppedItem;
|
||||
}
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
public ItemStack getPickStack(BlockView world, BlockPos pos, BlockState state) {
|
||||
return new ItemStack((ItemConvertible)droppedItem);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
|
||||
// revoke sweet berry bush default operation
|
|
@ -5,31 +5,68 @@ import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
|||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder;
|
||||
import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.Material;
|
||||
import net.minecraft.block.MaterialColor;
|
||||
import net.minecraft.block.OreBlock;
|
||||
import net.minecraft.client.render.RenderLayer;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.util.Identifier;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import net.yyc12345.teyvatcraft.blocks.TeyvatCropBlock;
|
||||
|
||||
import net.yyc12345.teyvatcraft.blocks.*;
|
||||
|
||||
public class BlocksManager {
|
||||
|
||||
// ==================== ore
|
||||
public static final Block MAGICAL_CRYSTAL_CHUNK_ORE = new OreBlock(FabricBlockSettings.of(new FabricMaterialBuilder(MaterialColor.STONE).build()).breakByTool(FabricToolTags.PICKAXES, 4).requiresTool().strength(4.0F, 4.0F));
|
||||
public static final Block CRYSTAL_CHUNK_ORE = new OreBlock(FabricBlockSettings.of(new FabricMaterialBuilder(MaterialColor.STONE).build()).breakByTool(FabricToolTags.PICKAXES, 3).requiresTool().strength(4.0F, 4.0F));
|
||||
public static final Block WHITE_IRON_CHUNK_ORE = new OreBlock(FabricBlockSettings.of(new FabricMaterialBuilder(MaterialColor.STONE).build()).breakByTool(FabricToolTags.PICKAXES, 2).requiresTool().strength(3.0F, 3.0F));
|
||||
public static final Block IRON_CHUNK_ORE = new OreBlock(FabricBlockSettings.of(new FabricMaterialBuilder(MaterialColor.STONE).build()).breakByTool(FabricToolTags.PICKAXES, 1).requiresTool().strength(3.0F, 3.0F));
|
||||
public static final Block STARSILVER_ORE = new OreBlock(FabricBlockSettings.of(new FabricMaterialBuilder(MaterialColor.STONE).build()).breakByTool(FabricToolTags.PICKAXES, 1).requiresTool().strength(2.0F, 2.0F));
|
||||
public static final Block MAGICAL_CRYSTAL_CHUNK_ORE = new OreBlock(getOreBlockSettings(4, 4.0f));
|
||||
public static final Block CRYSTAL_CHUNK_ORE = new OreBlock(getOreBlockSettings(3, 4.0f));
|
||||
public static final Block WHITE_IRON_CHUNK_ORE = new OreBlock(getOreBlockSettings(2, 3.0f));
|
||||
public static final Block IRON_CHUNK_ORE = new OreBlock(getOreBlockSettings(1, 3.0f));
|
||||
public static final Block STARSILVER_ORE = new OreBlock(getOreBlockSettings(1, 2.0f));
|
||||
public static final Block NOCTILUCOUS_JADE = new OreBlock(getOreBlockSettings(1, 3.0f));
|
||||
public static final Block COR_LAPIS = new OreBlock(getOreBlockSettings(1, 3.0f));
|
||||
|
||||
// ==================== crops
|
||||
public static final Block RICE = new TeyvatCropBlock(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP).nonOpaque());
|
||||
public static final Block TOMATO = new TeyvatCropBlock(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP));
|
||||
public static final Block ONION = new TeyvatCropBlock(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP));
|
||||
public static final Block CABBAGE = new TeyvatCropBlock(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP));
|
||||
public static final Block RADISH = new TeyvatCropBlock(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP));
|
||||
public static final Block RICE = new TeyvatCropBlock();
|
||||
public static final Block TOMATO = new TeyvatCropBlock();
|
||||
public static final Block ONION = new TeyvatCropBlock();
|
||||
public static final Block CABBAGE = new TeyvatCropBlock();
|
||||
public static final Block RADISH = new TeyvatCropBlock();
|
||||
|
||||
// flower & sweet berry bush like plant
|
||||
public static final Block CALLA_LILY = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block DANDELION_SEED = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block JUEYUN_CHILI = new TeyvatSweetBerryBushLikePlantBlock(ItemsManager.JUEYUN_CHILI);
|
||||
public static final Block SMALL_LAMP_GRASS = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block MINT = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block SWEET_FLOWER = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block BERRY = new TeyvatSweetBerryBushLikePlantBlock(ItemsManager.BERRY);
|
||||
public static final Block SNAPDRAGON = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block MATSUTAKE = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block HORSETAIL = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block CECILIA = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block GLAZE_LILY = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block PHILANEMO_MUSHROOM = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block SILK_FLOWER = new TeyvatSweetBerryBushLikePlantBlock(ItemsManager.SILK_FLOWER);
|
||||
public static final Block VALBERRY = new TeyvatSweetBerryBushLikePlantBlock(ItemsManager.VALBERRY);
|
||||
public static final Block WINDWHEEL_ASTER = new TeyvatFlowerLikePlantBlock();
|
||||
public static final Block WOLFHOOK = new TeyvatSweetBerryBushLikePlantBlock(ItemsManager.WOLFHOOK);
|
||||
public static final Block QINGXIN = new TeyvatFlowerLikePlantBlock();
|
||||
|
||||
|
||||
private static FabricBlockSettings getOreBlockSettings(int pickaxeLevel, float strength) {
|
||||
return FabricBlockSettings.of(new FabricMaterialBuilder(MaterialColor.STONE).build()).breakByTool(FabricToolTags.PICKAXES, pickaxeLevel).requiresTool().strength(strength, strength);
|
||||
}
|
||||
|
||||
private static void registerCrop(Block bl, Item blItem, String name) {
|
||||
((TeyvatCropBlock)bl).setSeedsItem(blItem); // set seeds
|
||||
BlockRenderLayerMap.INSTANCE.putBlock(bl, RenderLayer.getCutoutMipped()); // set transparent display mode
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", name), bl); //register block self
|
||||
}
|
||||
|
||||
private static void registerTeyvatPlant(Block bl, String name) {
|
||||
//BlockRenderLayerMap.INSTANCE.putBlock(bl, RenderLayer.getCutoutMipped()); // set transparent display mode
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", name), bl);
|
||||
}
|
||||
|
||||
public static void RegisterAll() {
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "magical_crystal_chunk_ore"), MAGICAL_CRYSTAL_CHUNK_ORE);
|
||||
|
@ -37,24 +74,36 @@ public class BlocksManager {
|
|||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "white_iron_chunk_ore"), WHITE_IRON_CHUNK_ORE);
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "iron_chunk_ore"), IRON_CHUNK_ORE);
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "starsilver_ore"), STARSILVER_ORE);
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "noctilucous_jade_ore"), NOCTILUCOUS_JADE);
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "cor_lapis_ore"), COR_LAPIS);
|
||||
|
||||
// crops
|
||||
((TeyvatCropBlock)RICE).setSeedsItem(ItemsManager.RICE_SEED);
|
||||
((TeyvatCropBlock)TOMATO).setSeedsItem(ItemsManager.TOMATO);
|
||||
((TeyvatCropBlock)ONION).setSeedsItem(ItemsManager.ONION);
|
||||
((TeyvatCropBlock)CABBAGE).setSeedsItem(ItemsManager.CABBAGE);
|
||||
((TeyvatCropBlock)RADISH).setSeedsItem(ItemsManager.RADISH);
|
||||
registerCrop(RICE, ItemsManager.RICE_SEED, "rice");
|
||||
registerCrop(TOMATO, ItemsManager.TOMATO, "tomato");
|
||||
registerCrop(ONION, ItemsManager.ONION, "onion");
|
||||
registerCrop(CABBAGE, ItemsManager.CABBAGE, "cabbage");
|
||||
registerCrop(RADISH, ItemsManager.RADISH, "radish");
|
||||
|
||||
// flower & sweet berry bush like plant
|
||||
registerTeyvatPlant(CALLA_LILY, "calla_lily");
|
||||
registerTeyvatPlant(DANDELION_SEED, "dandelion_seed");
|
||||
registerTeyvatPlant(JUEYUN_CHILI, "jueyun_chili");
|
||||
registerTeyvatPlant(SMALL_LAMP_GRASS, "small_lamp_grass");
|
||||
registerTeyvatPlant(MINT, "mint");
|
||||
registerTeyvatPlant(SWEET_FLOWER, "sweet_flower");
|
||||
registerTeyvatPlant(BERRY, "berry");
|
||||
registerTeyvatPlant(SNAPDRAGON, "snapdragon");
|
||||
registerTeyvatPlant(MATSUTAKE, "matsutake");
|
||||
registerTeyvatPlant(HORSETAIL, "horsetail");
|
||||
registerTeyvatPlant(CECILIA, "cecilia");
|
||||
registerTeyvatPlant(GLAZE_LILY, "glaze_lily");
|
||||
registerTeyvatPlant(PHILANEMO_MUSHROOM, "philanemo_mushroom");
|
||||
registerTeyvatPlant(SILK_FLOWER, "silk_flower");
|
||||
registerTeyvatPlant(VALBERRY, "valberry");
|
||||
registerTeyvatPlant(WINDWHEEL_ASTER, "windwheel_aster");
|
||||
registerTeyvatPlant(WOLFHOOK, "wolfhook");
|
||||
registerTeyvatPlant(QINGXIN, "qingxin");
|
||||
|
||||
BlockRenderLayerMap.INSTANCE.putBlock(RICE, RenderLayer.getCutoutMipped());
|
||||
BlockRenderLayerMap.INSTANCE.putBlock(TOMATO, RenderLayer.getCutoutMipped());
|
||||
BlockRenderLayerMap.INSTANCE.putBlock(ONION, RenderLayer.getCutoutMipped());
|
||||
BlockRenderLayerMap.INSTANCE.putBlock(CABBAGE, RenderLayer.getCutoutMipped());
|
||||
BlockRenderLayerMap.INSTANCE.putBlock(RADISH, RenderLayer.getCutoutMipped());
|
||||
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "rice"), RICE);
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "tomato"), TOMATO);
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "onion"), ONION);
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "cabbage"), CABBAGE);
|
||||
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "radish"), RADISH);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,14 +8,11 @@ import net.minecraft.util.Identifier;
|
|||
import net.minecraft.item.ItemGroup;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.Items;
|
||||
import net.minecraft.item.FoodComponent.Builder;
|
||||
import net.minecraft.util.Rarity;
|
||||
import net.minecraft.entity.effect.StatusEffects;
|
||||
import net.minecraft.entity.effect.StatusEffectInstance;
|
||||
import net.minecraft.item.AliasedBlockItem;
|
||||
import net.minecraft.item.BlockItem;
|
||||
import net.minecraft.item.FoodComponent;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemConvertible;
|
||||
import static net.minecraft.block.ComposterBlock.ITEM_TO_LEVEL_INCREASE_CHANCE;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
@ -49,6 +46,7 @@ public class ItemsManager {
|
|||
public static final Item IRON_CHUNK = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item STARSILVER = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item NOCTILUCOUS_JADE = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item COR_LAPIS = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
|
||||
// ==================== weapon enhancement
|
||||
public static final Item MYSTIC_ENHANCEMENT_ORE = new Item(new FabricItemSettings().group(ITEMGROUP_MISC));
|
||||
|
@ -63,21 +61,20 @@ public class ItemsManager {
|
|||
public static final Item RADISH = new SeedItem(BlocksManager.RADISH, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE).food((new FoodComponent.Builder()).hunger(1).saturationModifier(0.3F).build()));
|
||||
public static final Item RICE_SEED = new SeedItem(BlocksManager.RICE, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
|
||||
public static final Item CALLA_LILY = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item COR_LAPIS = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item DANDELION_SEED = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item JUEYUN_CHILI = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item SMALL_LAMP_GRASS = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item MINT = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item CALLA_LILY = new AliasedBlockItem(BlocksManager.CALLA_LILY, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item DANDELION_SEED = new AliasedBlockItem(BlocksManager.DANDELION_SEED, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item JUEYUN_CHILI = new AliasedBlockItem(BlocksManager.JUEYUN_CHILI, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item SMALL_LAMP_GRASS = new AliasedBlockItem(BlocksManager.SMALL_LAMP_GRASS, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item MINT = new AliasedBlockItem(BlocksManager.MINT, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item PEPPER = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item FLOUR = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item SWEET_FLOWER = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item SWEET_FLOWER = new AliasedBlockItem(BlocksManager.SWEET_FLOWER, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item SMOKED_FOWL = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item BERRY = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item BERRY = new AliasedBlockItem(BlocksManager.BERRY, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item ALMOND = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item SNAPDRAGON = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item SNAPDRAGON = new AliasedBlockItem(BlocksManager.SNAPDRAGON, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item TOFU = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item MATSUTAKE = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item MATSUTAKE = new AliasedBlockItem(BlocksManager.MATSUTAKE, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item SHRIMP_MEAT = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item CREAM = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item CRAB = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
|
@ -103,23 +100,17 @@ public class ItemsManager {
|
|||
public static final Item CHILLED_MEAT = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item STRANGE_TOOTH = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item VITALIZED_DRAGONTOOTH = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item HORSETAIL = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item DUST_OF_AZOTH = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item NORTHLANDER_SWORD_BILLET = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item NORTHLANDER_CLAYMORE_BILLET = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item NORTHLANDER_POLEARM_BILLET = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item NORTHLANDER_BOW_BILLET = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item NORTHLANDER_CATALYST_BILLET = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item HORSETAIL = new AliasedBlockItem(BlocksManager.HORSETAIL, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item SUNSETTIA = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
|
||||
public static final Item CECILIA = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item GLAZE_LILY = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item PHILANEMO_MUSHROOM = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item SILK_FLOWER = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item VALBERRY = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item WINDWHEEL_ASTER = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item WOLFHOOK = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item QINGXIN = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item CECILIA = new AliasedBlockItem(BlocksManager.CECILIA, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item GLAZE_LILY = new AliasedBlockItem(BlocksManager.GLAZE_LILY, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item PHILANEMO_MUSHROOM = new AliasedBlockItem(BlocksManager.PHILANEMO_MUSHROOM, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item SILK_FLOWER = new AliasedBlockItem(BlocksManager.SILK_FLOWER, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item VALBERRY = new AliasedBlockItem(BlocksManager.VALBERRY, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item WINDWHEEL_ASTER = new AliasedBlockItem(BlocksManager.WINDWHEEL_ASTER, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item WOLFHOOK = new AliasedBlockItem(BlocksManager.WOLFHOOK, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item QINGXIN = new AliasedBlockItem(BlocksManager.QINGXIN, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
public static final Item STARCONCH = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
|
||||
|
||||
// mobs drops
|
||||
|
@ -216,6 +207,13 @@ public class ItemsManager {
|
|||
public static final Item GILDED_SCALE = new Item(new FabricItemSettings().group(ITEMGROUP_DROPS));
|
||||
public static final Item CROWN_OF_INSIGHT = new Item(new FabricItemSettings().group(ITEMGROUP_DROPS));
|
||||
|
||||
public static final Item DUST_OF_AZOTH = new Item(new FabricItemSettings().group(ITEMGROUP_DROPS));
|
||||
public static final Item NORTHLANDER_SWORD_BILLET = new Item(new FabricItemSettings().group(ITEMGROUP_DROPS));
|
||||
public static final Item NORTHLANDER_CLAYMORE_BILLET = new Item(new FabricItemSettings().group(ITEMGROUP_DROPS));
|
||||
public static final Item NORTHLANDER_POLEARM_BILLET = new Item(new FabricItemSettings().group(ITEMGROUP_DROPS));
|
||||
public static final Item NORTHLANDER_BOW_BILLET = new Item(new FabricItemSettings().group(ITEMGROUP_DROPS));
|
||||
public static final Item NORTHLANDER_CATALYST_BILLET = new Item(new FabricItemSettings().group(ITEMGROUP_DROPS));
|
||||
|
||||
// books
|
||||
public static final Item TEACHINGS_OF_BALLAD = new Item(new FabricItemSettings().group(ITEMGROUP_BOOK));
|
||||
public static final Item GUIDE_TO_BALLAD = new Item(new FabricItemSettings().group(ITEMGROUP_BOOK));
|
||||
|
@ -346,25 +344,7 @@ public class ItemsManager {
|
|||
private static void registerAsCompostableItem(String name, Item it, Boolean isSeed) {
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", name), it);
|
||||
if (isSeed) ITEM_TO_LEVEL_INCREASE_CHANCE.put(it, 0.3f);
|
||||
else ITEM_TO_LEVEL_INCREASE_CHANCE.put(it, 0.3f);
|
||||
}
|
||||
|
||||
private static FoodComponent getTeyvatFoodComponent(int star, EnumSet<TeyvatFoodType> types) {
|
||||
Builder foodComponent = (new FoodComponent.Builder()).hunger(2 * star).saturationModifier(3.0F * star).alwaysEdible();
|
||||
|
||||
if (types.contains(TeyvatFoodType.Revive)) ;
|
||||
if (types.contains(TeyvatFoodType.DecreaseColdAccumulation)) ;
|
||||
if (types.contains(TeyvatFoodType.DecreaseStamina_Sprint)) foodComponent.statusEffect(new StatusEffectInstance(StatusEffects.SPEED, 900 * 20, star - 1), 1.0F);
|
||||
if (types.contains(TeyvatFoodType.DecreaseStamina_Climb)) foodComponent.statusEffect(new StatusEffectInstance(StatusEffects.JUMP_BOOST, 900 * 20, star - 1), 1.0F);
|
||||
if (types.contains(TeyvatFoodType.DecreaseStamina_Misc)) foodComponent.statusEffect(new StatusEffectInstance(StatusEffects.HASTE, 900 * 20, star - 1), 1.0F);
|
||||
if (types.contains(TeyvatFoodType.RestoreHP)) foodComponent.statusEffect(new StatusEffectInstance(StatusEffects.INSTANT_HEALTH, 1, star - 1), 1.0F);
|
||||
if (types.contains(TeyvatFoodType.GraduallyRestoreHP)) foodComponent.statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 30 * 20, star - 1), 1.0F);
|
||||
if (types.contains(TeyvatFoodType.RestoreStamina)) foodComponent.statusEffect(new StatusEffectInstance(StatusEffects.SATURATION, 50 * 20, star - 1), 1.0F);
|
||||
if (types.contains(TeyvatFoodType.IncreaseATK_CRIT_DMG)) foodComponent.statusEffect(new StatusEffectInstance(StatusEffects.STRENGTH, 300 * 20, star - 1), 1.0F);
|
||||
if (types.contains(TeyvatFoodType.IncreaseDEF)) foodComponent.statusEffect(new StatusEffectInstance(StatusEffects.RESISTANCE, 300 * 20, star - 1), 1.0F);
|
||||
if (types.contains(TeyvatFoodType.IncreaseShieldStrength)) foodComponent.statusEffect(new StatusEffectInstance(StatusEffects.ABSORPTION, 300 * 20, star - 1), 1.0F);
|
||||
|
||||
return foodComponent.build();
|
||||
else ITEM_TO_LEVEL_INCREASE_CHANCE.put(it, 0.6f);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -407,6 +387,10 @@ public class ItemsManager {
|
|||
new BlockItem(BlocksManager.IRON_CHUNK_ORE, new Item.Settings().group(ITEMGROUP_MISC)));
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "starsilver_ore"),
|
||||
new BlockItem(BlocksManager.STARSILVER_ORE, new Item.Settings().group(ITEMGROUP_MISC)));
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "noctilucous_jade_ore"),
|
||||
new BlockItem(BlocksManager.NOCTILUCOUS_JADE, new Item.Settings().group(ITEMGROUP_MISC)));
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "cor_lapis_ore"),
|
||||
new BlockItem(BlocksManager.COR_LAPIS, new Item.Settings().group(ITEMGROUP_MISC)));
|
||||
|
||||
// crops & plants
|
||||
registerAsCompostableItem("rice", RICE, false);
|
||||
|
@ -418,7 +402,7 @@ public class ItemsManager {
|
|||
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "calla_lily"), CALLA_LILY);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dandelion_seed"), DANDELION_SEED);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "jueyun_chili"), JUEYUN_CHILI);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "jueyun_chili"), JUEYUN_CHILI);/*
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "small_lamp_grass"), SMALL_LAMP_GRASS);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "mint"), MINT);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "pepper"), PEPPER);
|
||||
|
@ -456,12 +440,6 @@ public class ItemsManager {
|
|||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "strange_tooth"), STRANGE_TOOTH);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "vitalized_dragontooth"), VITALIZED_DRAGONTOOTH);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "horsetail"), HORSETAIL);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dust_of_azoth"), DUST_OF_AZOTH);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "northlander_sword_billet"), NORTHLANDER_SWORD_BILLET);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "northlander_claymore_billet"), NORTHLANDER_CLAYMORE_BILLET);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "northlander_polearm_billet"), NORTHLANDER_POLEARM_BILLET);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "northlander_bow_billet"), NORTHLANDER_BOW_BILLET);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "northlander_catalyst_billet"), NORTHLANDER_CATALYST_BILLET);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "sunsettia"), SUNSETTIA);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "cecilia"), CECILIA);
|
||||
|
@ -473,7 +451,9 @@ public class ItemsManager {
|
|||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "wolfhook"), WOLFHOOK);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "qingxin"), QINGXIN);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "starconch"), STARCONCH);
|
||||
*/
|
||||
|
||||
// drops
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "agnidus_agate_sliver"), AGNIDUS_AGATE_SLIVER);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "agnidus_agate_fragment"), AGNIDUS_AGATE_FRAGMENT);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "agnidus_agate_chunk"), AGNIDUS_AGATE_CHUNK);
|
||||
|
@ -512,6 +492,20 @@ public class ItemsManager {
|
|||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "juvenile_jade"), JUVENILE_JADE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "crystalline_bloom"), CRYSTALLINE_BLOOM);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dvalins_plume"), DVALINS_PLUME);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dvalins_claw"), DVALINS_CLAW);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dvalins_sigh"), DVALINS_SIGH);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "tail_of_boreas"), TAIL_OF_BOREAS);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "ring_of_boreas"), RING_OF_BOREAS);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "spirit_locket_of_boreas"), SPIRIT_LOCKET_OF_BOREAS);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "tusk_of_monoceros_caeli"), TUSK_OF_MONOCEROS_CAELI);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "shard_of_a_foul_legacy"), SHARD_OF_A_FOUL_LEGACY);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "shadow_of_the_warrior"), SHADOW_OF_THE_WARRIOR);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dragon_lords_crown"), DRAGON_LORDS_CROWN);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "bloodjade_branch"), BLOODJADE_BRANCH);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "gilded_scale"), GILDED_SCALE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "crown_of_insight"), CROWN_OF_INSIGHT);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "slime_condensate"), SLIME_CONDENSATE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "slime_secretions"), SLIME_SECRETIONS);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "slime_concentrate"), SLIME_CONCENTRATE);
|
||||
|
@ -534,6 +528,33 @@ public class ItemsManager {
|
|||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "shimmering_nectar"), SHIMMERING_NECTAR);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "energy_nectar"), ENERGY_NECTAR);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "heavy_horn"), HEAVY_HORN);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "black_bronze_horn"), BLACK_BRONZE_HORN);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "black_crystal_horn"), BLACK_CRYSTAL_HORN);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dead_ley_line_branch"), DEAD_LEY_LINE_BRANCH);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dead_ley_line_leaves"), DEAD_LEY_LINE_LEAVES);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "ley_line_sprout"), LEY_LINE_SPROUT);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "chaos_device"), CHAOS_DEVICE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "chaos_circuit"), CHAOS_CIRCUIT);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "chaos_core"), CHAOS_CORE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "mist_grass_pollen"), MIST_GRASS_POLLEN);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "mist_grass"), MIST_GRASS);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "mist_grass_wick"), MIST_GRASS_WICK);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "hunters_sacrificial_knife"), HUNTERS_SACRIFICIAL_KNIFE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "agents_sacrificial_knife"), AGENTS_SACRIFICIAL_KNIFE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "inspectors_sacrificial_knife"), INSPECTORS_SACRIFICIAL_KNIFE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "fragile_bone_shard"), FRAGILE_BONE_SHARD);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "sturdy_bone_shard"), STURDY_BONE_SHARD);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "fossilized_bone_shard"), FOSSILIZED_BONE_SHARD);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dust_of_azoth"), DUST_OF_AZOTH);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "northlander_sword_billet"), NORTHLANDER_SWORD_BILLET);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "northlander_claymore_billet"), NORTHLANDER_CLAYMORE_BILLET);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "northlander_polearm_billet"), NORTHLANDER_POLEARM_BILLET);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "northlander_bow_billet"), NORTHLANDER_BOW_BILLET);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "northlander_catalyst_billet"), NORTHLANDER_CATALYST_BILLET);
|
||||
|
||||
// book
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "teachings_of_ballad"), TEACHINGS_OF_BALLAD);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "guide_to_ballad"), GUIDE_TO_BALLAD);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "philosophies_of_ballad"), PHILOSOPHIES_OF_BALLAD);
|
||||
|
@ -552,20 +573,8 @@ public class ItemsManager {
|
|||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "teachings_of_resistance"), TEACHINGS_OF_RESISTANCE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "guide_to_resistance"), GUIDE_TO_RESISTANCE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "philosophies_of_resistance"), PHILOSOPHIES_OF_RESISTANCE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dvalins_plume"), DVALINS_PLUME);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dvalins_claw"), DVALINS_CLAW);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dvalins_sigh"), DVALINS_SIGH);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "tail_of_boreas"), TAIL_OF_BOREAS);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "ring_of_boreas"), RING_OF_BOREAS);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "spirit_locket_of_boreas"), SPIRIT_LOCKET_OF_BOREAS);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "tusk_of_monoceros_caeli"), TUSK_OF_MONOCEROS_CAELI);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "shard_of_a_foul_legacy"), SHARD_OF_A_FOUL_LEGACY);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "shadow_of_the_warrior"), SHADOW_OF_THE_WARRIOR);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dragon_lords_crown"), DRAGON_LORDS_CROWN);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "bloodjade_branch"), BLOODJADE_BRANCH);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "gilded_scale"), GILDED_SCALE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "crown_of_insight"), CROWN_OF_INSIGHT);
|
||||
|
||||
// weapon material
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "tile_of_decarabians_tower"), TILE_OF_DECARABIANS_TOWER);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "debris_of_decarabians_city"), DEBRIS_OF_DECARABIANS_CITY);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "fragment_of_decarabians_epic"), FRAGMENT_OF_DECARABIANS_EPIC);
|
||||
|
@ -591,25 +600,7 @@ public class ItemsManager {
|
|||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "bit_of_aerosiderite"), BIT_OF_AEROSIDERITE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "chunk_of_aerosiderite"), CHUNK_OF_AEROSIDERITE);
|
||||
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "heavy_horn"), HEAVY_HORN);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "black_bronze_horn"), BLACK_BRONZE_HORN);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "black_crystal_horn"), BLACK_CRYSTAL_HORN);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dead_ley_line_branch"), DEAD_LEY_LINE_BRANCH);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dead_ley_line_leaves"), DEAD_LEY_LINE_LEAVES);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "ley_line_sprout"), LEY_LINE_SPROUT);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "chaos_device"), CHAOS_DEVICE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "chaos_circuit"), CHAOS_CIRCUIT);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "chaos_core"), CHAOS_CORE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "mist_grass_pollen"), MIST_GRASS_POLLEN);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "mist_grass"), MIST_GRASS);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "mist_grass_wick"), MIST_GRASS_WICK);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "hunters_sacrificial_knife"), HUNTERS_SACRIFICIAL_KNIFE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "agents_sacrificial_knife"), AGENTS_SACRIFICIAL_KNIFE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "inspectors_sacrificial_knife"), INSPECTORS_SACRIFICIAL_KNIFE);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "fragile_bone_shard"), FRAGILE_BONE_SHARD);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "sturdy_bone_shard"), STURDY_BONE_SHARD);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "fossilized_bone_shard"), FOSSILIZED_BONE_SHARD);
|
||||
|
||||
// potions
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "unmoving_essential_oil"), UNMOVING_ESSENTIAL_OIL);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "shocking_essential_oil"), SHOCKING_ESSENTIAL_OIL);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "gushing_essential_oil"), GUSHING_ESSENTIAL_OIL);
|
||||
|
@ -625,6 +616,7 @@ public class ItemsManager {
|
|||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "heatshield_potion"), HEATSHIELD_POTION);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dendrocide_potion"), DENDROCIDE_POTION);
|
||||
|
||||
// foods
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "chicken_mushroom_skewer"), CHICKEN_MUSHROOM_SKEWER);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "teyvat_fried_egg"), TEYVAT_FRIED_EGG);
|
||||
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "steak"), STEAK);
|
||||
|
|
|
@ -62,7 +62,7 @@ public class TerrainsManager {
|
|||
.spreadHorizontally()
|
||||
.repeat(24);
|
||||
|
||||
private static void RegisterOreGeneration(String mIdentifier, ConfiguredFeature<?, ?> genStasticas) {
|
||||
private static void registerOreGeneration(String mIdentifier, ConfiguredFeature<?, ?> genStasticas) {
|
||||
RegistryKey<ConfiguredFeature<?, ?>> regKey = RegistryKey.of(Registry.CONFIGURED_FEATURE_WORLDGEN,
|
||||
new Identifier("teyvatcraft", mIdentifier));
|
||||
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, regKey.getValue(), genStasticas);
|
||||
|
@ -71,10 +71,10 @@ public class TerrainsManager {
|
|||
|
||||
public static void RegisterAll() {
|
||||
// ore gen
|
||||
RegisterOreGeneration("oregen_magical_crystal_ore", OREGEN_MAGICAL_CRYSTAL_CHUNK_ORE);
|
||||
RegisterOreGeneration("oregen_crystal_ore", OREGEN_CRYSTAL_CHUNK_ORE);
|
||||
RegisterOreGeneration("oregen_white_iron_ore", OREGEN_WHITE_IRON_CHUNK_ORE);
|
||||
RegisterOreGeneration("oregen_iron_ore", OREGEN_IRON_CHUNK_ORE);
|
||||
RegisterOreGeneration("oregen_starsilver_ore", OREGEN_STARSILVER_ORE);
|
||||
registerOreGeneration("oregen_magical_crystal_ore", OREGEN_MAGICAL_CRYSTAL_CHUNK_ORE);
|
||||
registerOreGeneration("oregen_crystal_ore", OREGEN_CRYSTAL_CHUNK_ORE);
|
||||
registerOreGeneration("oregen_white_iron_ore", OREGEN_WHITE_IRON_CHUNK_ORE);
|
||||
registerOreGeneration("oregen_iron_ore", OREGEN_IRON_CHUNK_ORE);
|
||||
registerOreGeneration("oregen_starsilver_ore", OREGEN_STARSILVER_ORE);
|
||||
}
|
||||
}
|
||||
|
|
16
src/main/resources/assets/teyvatcraft/blockstates/berry.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"variants": {
|
||||
"age=0": {
|
||||
"model": "teyvatcraft:block/berry_stage0"
|
||||
},
|
||||
"age=1": {
|
||||
"model": "teyvatcraft:block/berry_stage1"
|
||||
},
|
||||
"age=2": {
|
||||
"model": "teyvatcraft:block/berry_stage2"
|
||||
},
|
||||
"age=3": {
|
||||
"model": "teyvatcraft:block/berry_stage3"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/calla_lily"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/cecilia"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/dandelion_seed"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/glaze_lily"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/horsetail"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"variants": {
|
||||
"age=0": {
|
||||
"model": "teyvatcraft:block/jueyun_chili_stage0"
|
||||
},
|
||||
"age=1": {
|
||||
"model": "teyvatcraft:block/jueyun_chili_stage1"
|
||||
},
|
||||
"age=2": {
|
||||
"model": "teyvatcraft:block/jueyun_chili_stage2"
|
||||
},
|
||||
"age=3": {
|
||||
"model": "teyvatcraft:block/jueyun_chili_stage3"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/matsutake"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/mint"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/philanemo_mushroom"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/qingxin"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"variants": {
|
||||
"age=0": {
|
||||
"model": "teyvatcraft:block/silk_flower_stage0"
|
||||
},
|
||||
"age=1": {
|
||||
"model": "teyvatcraft:block/silk_flower_stage1"
|
||||
},
|
||||
"age=2": {
|
||||
"model": "teyvatcraft:block/silk_flower_stage2"
|
||||
},
|
||||
"age=3": {
|
||||
"model": "teyvatcraft:block/silk_flower_stage3"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/small_lamp_grass"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/snapdragon"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/sweet_flower"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"variants": {
|
||||
"age=0": {
|
||||
"model": "teyvatcraft:block/valberry_stage0"
|
||||
},
|
||||
"age=1": {
|
||||
"model": "teyvatcraft:block/valberry_stage1"
|
||||
},
|
||||
"age=2": {
|
||||
"model": "teyvatcraft:block/valberry_stage2"
|
||||
},
|
||||
"age=3": {
|
||||
"model": "teyvatcraft:block/valberry_stage3"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "teyvatcraft:block/windwheel_aster"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"variants": {
|
||||
"age=0": {
|
||||
"model": "teyvatcraft:block/wolfhook_stage0"
|
||||
},
|
||||
"age=1": {
|
||||
"model": "teyvatcraft:block/wolfhook_stage1"
|
||||
},
|
||||
"age=2": {
|
||||
"model": "teyvatcraft:block/wolfhook_stage2"
|
||||
},
|
||||
"age=3": {
|
||||
"model": "teyvatcraft:block/wolfhook_stage3"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -42,6 +42,25 @@
|
|||
"block.teyvatcraft.radish": "Radish",
|
||||
"block.teyvatcraft.rice_seed": "Rice Seed",
|
||||
|
||||
"block.teyvatcraft.calla_lily": "Calla Lily",
|
||||
"block.teyvatcraft.dandelion_seed": "Dandelion Seed",
|
||||
"block.teyvatcraft.jueyun_chili": "Jueyun Chili",
|
||||
"block.teyvatcraft.small_lamp_grass": "Small Lamp Grass",
|
||||
"block.teyvatcraft.mint": "Mint",
|
||||
"block.teyvatcraft.sweet_flower": "Sweet Flower",
|
||||
"block.teyvatcraft.berry": "Berry",
|
||||
"block.teyvatcraft.snapdragon": "Snapdragon",
|
||||
"block.teyvatcraft.matsutake": "Matsutake",
|
||||
"block.teyvatcraft.horsetail": "Horsetail",
|
||||
"block.teyvatcraft.cecilia": "Cecilia",
|
||||
"block.teyvatcraft.glaze_lily": "Glaze Lily",
|
||||
"block.teyvatcraft.philanemo_mushroom": "Philanemo Mushroom",
|
||||
"block.teyvatcraft.silk_flower": "Silk Flower",
|
||||
"block.teyvatcraft.valberry": "Valberry",
|
||||
"block.teyvatcraft.windwheel_aster": "Windwheel Aster",
|
||||
"block.teyvatcraft.wolfhook": "Wolfhook",
|
||||
"block.teyvatcraft.qingxin": "Qingxin",
|
||||
|
||||
"item.teyvatcraft.rice": "Rice",
|
||||
"item.teyvatcraft.tomato": "Tomato",
|
||||
"item.teyvatcraft.onion": "Onion",
|
||||
|
|
|
@ -41,6 +41,25 @@
|
|||
"block.teyvatcraft.cabbage": "卷心菜",
|
||||
"block.teyvatcraft.radish": "白萝卜",
|
||||
|
||||
"block.teyvatcraft.calla_lily": "嘟嘟莲",
|
||||
"block.teyvatcraft.dandelion_seed": "蒲公英籽",
|
||||
"block.teyvatcraft.jueyun_chili": "绝云椒椒",
|
||||
"block.teyvatcraft.small_lamp_grass": "小灯草",
|
||||
"block.teyvatcraft.mint": "薄荷",
|
||||
"block.teyvatcraft.sweet_flower": "甜甜花",
|
||||
"block.teyvatcraft.berry": "树莓",
|
||||
"block.teyvatcraft.snapdragon": "金鱼草",
|
||||
"block.teyvatcraft.matsutake": "松茸",
|
||||
"block.teyvatcraft.horsetail": "马尾",
|
||||
"block.teyvatcraft.cecilia": "塞西莉亚花",
|
||||
"block.teyvatcraft.glaze_lily": "琉璃百合",
|
||||
"block.teyvatcraft.philanemo_mushroom": "慕风蘑菇",
|
||||
"block.teyvatcraft.silk_flower": "霓裳花",
|
||||
"block.teyvatcraft.valberry": "落落莓",
|
||||
"block.teyvatcraft.windwheel_aster": "风车菊",
|
||||
"block.teyvatcraft.wolfhook": "钩钩果",
|
||||
"block.teyvatcraft.qingxin": "清心",
|
||||
|
||||
"item.teyvatcraft.rice": "稻米",
|
||||
"item.teyvatcraft.tomato": "番茄",
|
||||
"item.teyvatcraft.onion": "洋葱",
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/berry_stage0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/berry_stage1"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/berry_stage2"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/berry_stage3"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/calla_lily"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/cecilia"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/dandelion_seed"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/glaze_lily"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/horsetail"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/jueyun_chili_stage0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/jueyun_chili_stage1"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/jueyun_chili_stage2"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/jueyun_chili_stage3"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/matsutake"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/mint"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/philanemo_mushroom"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/qingxin"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/silk_flower_stage0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/silk_flower_stage1"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/silk_flower_stage2"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/silk_flower_stage3"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/small_lamp_grass"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/snapdragon"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/sweet_flower"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/valberry_stage0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/valberry_stage1"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/valberry_stage2"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/valberry_stage3"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/windwheel_aster"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/wolfhook_stage0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/wolfhook_stage1"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/wolfhook_stage2"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "teyvatcraft:block/wolfhook_stage3"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 162 B |
After Width: | Height: | Size: 255 B |
After Width: | Height: | Size: 528 B |
After Width: | Height: | Size: 538 B |
After Width: | Height: | Size: 287 B |
BIN
src/main/resources/assets/teyvatcraft/textures/block/cecilia.png
Normal file
After Width: | Height: | Size: 314 B |
After Width: | Height: | Size: 258 B |
After Width: | Height: | Size: 331 B |
After Width: | Height: | Size: 280 B |
After Width: | Height: | Size: 162 B |
After Width: | Height: | Size: 255 B |
After Width: | Height: | Size: 526 B |
After Width: | Height: | Size: 549 B |
After Width: | Height: | Size: 247 B |
BIN
src/main/resources/assets/teyvatcraft/textures/block/mint.png
Normal file
After Width: | Height: | Size: 265 B |
After Width: | Height: | Size: 291 B |
BIN
src/main/resources/assets/teyvatcraft/textures/block/qingxin.png
Normal file
After Width: | Height: | Size: 276 B |
After Width: | Height: | Size: 162 B |
After Width: | Height: | Size: 255 B |
After Width: | Height: | Size: 523 B |
After Width: | Height: | Size: 521 B |
After Width: | Height: | Size: 255 B |
After Width: | Height: | Size: 241 B |
After Width: | Height: | Size: 278 B |
After Width: | Height: | Size: 162 B |
After Width: | Height: | Size: 255 B |
After Width: | Height: | Size: 511 B |
After Width: | Height: | Size: 545 B |
After Width: | Height: | Size: 307 B |
After Width: | Height: | Size: 162 B |
After Width: | Height: | Size: 255 B |
After Width: | Height: | Size: 509 B |
After Width: | Height: | Size: 532 B |
|
@ -0,0 +1,82 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "teyvatcraft:berry"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:block_state_property",
|
||||
"block": "teyvatcraft:berry",
|
||||
"properties": {
|
||||
"age": "3"
|
||||
}
|
||||
}
|
||||
],
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"min": 2.0,
|
||||
"max": 3.0,
|
||||
"type": "minecraft:uniform"
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "minecraft:apply_bonus",
|
||||
"enchantment": "minecraft:fortune",
|
||||
"formula": "minecraft:uniform_bonus_count",
|
||||
"parameters": {
|
||||
"bonusMultiplier": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "teyvatcraft:berry"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:block_state_property",
|
||||
"block": "teyvatcraft:berry",
|
||||
"properties": {
|
||||
"age": "2"
|
||||
}
|
||||
}
|
||||
],
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"min": 1.0,
|
||||
"max": 2.0,
|
||||
"type": "minecraft:uniform"
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "minecraft:apply_bonus",
|
||||
"enchantment": "minecraft:fortune",
|
||||
"formula": "minecraft:uniform_bonus_count",
|
||||
"parameters": {
|
||||
"bonusMultiplier": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:explosion_decay"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "teyvatcraft:calla_lily"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "teyvatcraft:cecilia"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,59 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:alternatives",
|
||||
"children": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"enchantments": [
|
||||
{
|
||||
"enchantment": "minecraft:silk_touch",
|
||||
"levels": {
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "teyvatcraft:cor_lapis_ore"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"min": 4.0,
|
||||
"max": 5.0,
|
||||
"type": "minecraft:uniform"
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "minecraft:apply_bonus",
|
||||
"enchantment": "minecraft:fortune",
|
||||
"formula": "minecraft:uniform_bonus_count",
|
||||
"parameters": {
|
||||
"bonusMultiplier": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "minecraft:explosion_decay"
|
||||
}
|
||||
],
|
||||
"name": "teyvatcraft:cor_lapis"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "teyvatcraft:dandelion_seed"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "teyvatcraft:glaze_lily"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "teyvatcraft:horsetail"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|