write shit

This commit is contained in:
yyc12345 2021-05-03 18:50:59 +08:00
parent 5d82c23a41
commit 74fe0fd9da
113 changed files with 1380 additions and 134 deletions

View File

@ -3,8 +3,8 @@
|**材料**|可种植|用原版代替|和村民交易|可由加工得来|野外采集|矿物|未映射| |**材料**|可种植|用原版代替|和村民交易|可由加工得来|野外采集|矿物|未映射|
|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:| |:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|嘟嘟莲|||||一次性,沼泽||| |嘟嘟莲|||||一次性,沼泽|||
|石珀|||||||| |石珀||||||恶地||
|蒲公英籽|||||可反复||| |蒲公英籽|||||一次性|||
|绝云椒椒|||||可反复||| |绝云椒椒|||||可反复|||
|小灯草|||||一次性||| |小灯草|||||一次性|||
|琉璃袋||兰花|||||| |琉璃袋||兰花||||||
@ -20,7 +20,7 @@
|面粉||||√|||| |面粉||||√||||
|甜甜花|||||一次性||| |甜甜花|||||一次性|||
|洋葱|√||||||| |洋葱|√|||||||
|熏禽肉|||||||| |熏禽肉|||屠夫|||||
|卷心菜|√||||||| |卷心菜|√|||||||
|树莓|||||可反复||| |树莓|||||可反复|||
|土豆||√|||||| |土豆||√||||||
@ -61,7 +61,7 @@
|竹笋|||||||√| |竹笋|||||||√|
|发光髓|||||||√| |发光髓|||||||√|
|「冷鲜肉」|||||||√| |「冷鲜肉」|||||||√|
|星银矿石|||||||| |星银矿石||||||高山||
|奇异的「牙齿」|||||||√| |奇异的「牙齿」|||||||√|
|汲取了生命力的龙牙|||||||√| |汲取了生命力的龙牙|||||||√|
|马尾|||||一次性,沼泽||| |马尾|||||一次性,沼泽|||
@ -73,19 +73,21 @@
|北陆法器原胚|||||||√| |北陆法器原胚|||||||√|
|苹果||√|||||| |苹果||√||||||
|日落果|||||白桦树叶掉落||| |日落果|||||白桦树叶掉落|||
|塞西莉亚花|||||一次性||| |塞西莉亚花|||||一次性,高山|||
|琉璃百合|||||一次性||| |琉璃百合|||||一次性|||
|夜泊石|||||||| |夜泊石||||||恶地||
|慕风蘑菇|||||一次性||| |慕风蘑菇|||||一次性|||
|霓裳花|||||可反复||| |霓裳花|||||可反复|||
|落落莓|||||可反复||| |落落莓|||||可反复|||
|风车菊|||||一次性||| |风车菊|||||一次性|||
|钩钩果|||||可反复||| |钩钩果|||||可反复|||
|清心|||||一次性||| |清心|||||一次性,高山|||
|星螺|||牧师||||| |星螺|||牧师|||||
* 所有可种植物品,加入农民一级收购列表,尝试将这些作物设为农民可接受的作物,就像原版作物一样,如果不行就将作物种子设定为流浪商人贩卖 * 所有可种植物品,加入农民一级收购列表,尝试将这些作物设为农民可接受的作物,就像原版作物一样,如果不行就将作物种子设定为流浪商人贩卖
* 野外采集的一次性表示类似于花的处理方式采完就没了可用刷花机量产。可反复表示类似于浆果丛的处理方式可以反复采摘但是只能在原地采摘不能重新集中化种植。树叶掉落的按照类似橡木树叶掉落苹果的方式处理掉落。后面标识沼泽等Biome的按类似于兰花只在沼泽Biome生成的这种特性进行生成。其他未标识的按普通花的生成方式生成。 * 野外采集的,一次性表示类似于花的处理方式,采完就没了,可用刷花机量产。可反复表示类似于浆果丛的处理方式,可以反复采摘,但是只能在原地采摘,不能重新集中化种植。树叶掉落的,按照类似橡木树叶掉落苹果的方式处理掉落。
* 后面标识沼泽等生物群系的,按类似于兰花只在沼泽生物群系生成,绿宝石只在高山生物群系的这种特性进行生成。其他未标识的,则在主世界普遍生成。
* 所有不在特殊生物群系的类花植物,将加入繁花森林生成。
# 食物与药水 # 食物与药水

View File

@ -1,13 +1,16 @@
package net.yyc12345.teyvatcraft.blocks; package net.yyc12345.teyvatcraft.blocks;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.block.BlockState; import net.minecraft.block.BlockState;
import net.minecraft.block.CropBlock; import net.minecraft.block.CropBlock;
import net.minecraft.block.Material;
import net.minecraft.block.ShapeContext; import net.minecraft.block.ShapeContext;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.Item; import net.minecraft.item.Item;
import net.minecraft.item.ItemConvertible; import net.minecraft.item.ItemConvertible;
import net.minecraft.sound.BlockSoundGroup;
import net.minecraft.util.ActionResult; import net.minecraft.util.ActionResult;
import net.minecraft.util.Hand; import net.minecraft.util.Hand;
import net.minecraft.util.hit.BlockHitResult; import net.minecraft.util.hit.BlockHitResult;
@ -29,8 +32,8 @@ public class TeyvatCropBlock extends CropBlock {
private Item seed; private Item seed;
public TeyvatCropBlock(Settings settings) { public TeyvatCropBlock() {
super(settings); super(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP));
} }
@Override @Override

View File

@ -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));
}
}

View File

@ -16,15 +16,20 @@ import net.minecraft.util.hit.BlockHitResult;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World; import net.minecraft.world.World;
public class TeyvatHarvestablePlantBlock extends SweetBerryBushBlock { public class TeyvatSweetBerryBushLikePlantBlock extends SweetBerryBushBlock {
private Item droppedItem; private Item droppedItem;
public TeyvatHarvestablePlantBlock(Settings settings, Item droppedItem) { public TeyvatSweetBerryBushLikePlantBlock(Settings settings, Item droppedItem) {
super(settings); super(settings);
this.droppedItem = droppedItem; this.droppedItem = droppedItem;
} }
@Environment(EnvType.CLIENT)
public ItemStack getPickStack(BlockView world, BlockPos pos, BlockState state) {
return new ItemStack((ItemConvertible)droppedItem);
}
@Override @Override
public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) { public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
// revoke sweet berry bush default operation // revoke sweet berry bush default operation

View File

@ -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.object.builder.v1.block.FabricMaterialBuilder;
import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags; import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.block.Material;
import net.minecraft.block.MaterialColor; import net.minecraft.block.MaterialColor;
import net.minecraft.block.OreBlock; import net.minecraft.block.OreBlock;
import net.minecraft.client.render.RenderLayer; 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.Identifier;
import net.minecraft.util.registry.Registry; import net.minecraft.util.registry.Registry;
import net.yyc12345.teyvatcraft.blocks.TeyvatCropBlock;
import net.yyc12345.teyvatcraft.blocks.*;
public class BlocksManager { public class BlocksManager {
// ==================== ore // ==================== 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 MAGICAL_CRYSTAL_CHUNK_ORE = new OreBlock(getOreBlockSettings(4, 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 CRYSTAL_CHUNK_ORE = new OreBlock(getOreBlockSettings(3, 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 WHITE_IRON_CHUNK_ORE = new OreBlock(getOreBlockSettings(2, 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 IRON_CHUNK_ORE = new OreBlock(getOreBlockSettings(1, 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 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 // ==================== crops
public static final Block RICE = new TeyvatCropBlock(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP).nonOpaque()); public static final Block RICE = new TeyvatCropBlock();
public static final Block TOMATO = new TeyvatCropBlock(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP)); public static final Block TOMATO = new TeyvatCropBlock();
public static final Block ONION = new TeyvatCropBlock(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP)); public static final Block ONION = new TeyvatCropBlock();
public static final Block CABBAGE = new TeyvatCropBlock(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP)); public static final Block CABBAGE = new TeyvatCropBlock();
public static final Block RADISH = new TeyvatCropBlock(FabricBlockSettings.of(Material.PLANT).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP)); 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() { public static void RegisterAll() {
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "magical_crystal_chunk_ore"), MAGICAL_CRYSTAL_CHUNK_ORE); 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", "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", "iron_chunk_ore"), IRON_CHUNK_ORE);
Registry.register(Registry.BLOCK, new Identifier("teyvatcraft", "starsilver_ore"), STARSILVER_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 // crops
((TeyvatCropBlock)RICE).setSeedsItem(ItemsManager.RICE_SEED); registerCrop(RICE, ItemsManager.RICE_SEED, "rice");
((TeyvatCropBlock)TOMATO).setSeedsItem(ItemsManager.TOMATO); registerCrop(TOMATO, ItemsManager.TOMATO, "tomato");
((TeyvatCropBlock)ONION).setSeedsItem(ItemsManager.ONION); registerCrop(ONION, ItemsManager.ONION, "onion");
((TeyvatCropBlock)CABBAGE).setSeedsItem(ItemsManager.CABBAGE); registerCrop(CABBAGE, ItemsManager.CABBAGE, "cabbage");
((TeyvatCropBlock)RADISH).setSeedsItem(ItemsManager.RADISH); 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);
} }
} }

View File

@ -8,14 +8,11 @@ import net.minecraft.util.Identifier;
import net.minecraft.item.ItemGroup; import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.item.Items; import net.minecraft.item.Items;
import net.minecraft.item.FoodComponent.Builder;
import net.minecraft.util.Rarity; import net.minecraft.util.Rarity;
import net.minecraft.entity.effect.StatusEffects; import net.minecraft.item.AliasedBlockItem;
import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.item.BlockItem; import net.minecraft.item.BlockItem;
import net.minecraft.item.FoodComponent; import net.minecraft.item.FoodComponent;
import net.minecraft.item.Item; import net.minecraft.item.Item;
import net.minecraft.item.ItemConvertible;
import static net.minecraft.block.ComposterBlock.ITEM_TO_LEVEL_INCREASE_CHANCE; import static net.minecraft.block.ComposterBlock.ITEM_TO_LEVEL_INCREASE_CHANCE;
import java.util.EnumSet; 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 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 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 NOCTILUCOUS_JADE = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
public static final Item COR_LAPIS = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
// ==================== weapon enhancement // ==================== weapon enhancement
public static final Item MYSTIC_ENHANCEMENT_ORE = new Item(new FabricItemSettings().group(ITEMGROUP_MISC)); 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 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 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 CALLA_LILY = new AliasedBlockItem(BlocksManager.CALLA_LILY, 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 AliasedBlockItem(BlocksManager.DANDELION_SEED, 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 AliasedBlockItem(BlocksManager.JUEYUN_CHILI, 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 AliasedBlockItem(BlocksManager.SMALL_LAMP_GRASS, 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 AliasedBlockItem(BlocksManager.MINT, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
public static final Item MINT = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
public static final Item PEPPER = new Item(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 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 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 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 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 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 CREAM = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
public static final Item CRAB = 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 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 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 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 HORSETAIL = new AliasedBlockItem(BlocksManager.HORSETAIL, 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 SUNSETTIA = new Item(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 CECILIA = new AliasedBlockItem(BlocksManager.CECILIA, new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
public static final Item GLAZE_LILY = new Item(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 Item(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 Item(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 Item(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 Item(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 Item(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 Item(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)); public static final Item STARCONCH = new Item(new FabricItemSettings().group(ITEMGROUP_HARVESTABLE));
// mobs drops // 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 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 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 // books
public static final Item TEACHINGS_OF_BALLAD = new Item(new FabricItemSettings().group(ITEMGROUP_BOOK)); 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)); 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) { private static void registerAsCompostableItem(String name, Item it, Boolean isSeed) {
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", name), it); Registry.register(Registry.ITEM, new Identifier("teyvatcraft", name), it);
if (isSeed) ITEM_TO_LEVEL_INCREASE_CHANCE.put(it, 0.3f); if (isSeed) ITEM_TO_LEVEL_INCREASE_CHANCE.put(it, 0.3f);
else ITEM_TO_LEVEL_INCREASE_CHANCE.put(it, 0.3f); else ITEM_TO_LEVEL_INCREASE_CHANCE.put(it, 0.6f);
}
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();
} }
/* /*
@ -407,6 +387,10 @@ public class ItemsManager {
new BlockItem(BlocksManager.IRON_CHUNK_ORE, new Item.Settings().group(ITEMGROUP_MISC))); new BlockItem(BlocksManager.IRON_CHUNK_ORE, new Item.Settings().group(ITEMGROUP_MISC)));
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "starsilver_ore"), Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "starsilver_ore"),
new BlockItem(BlocksManager.STARSILVER_ORE, new Item.Settings().group(ITEMGROUP_MISC))); 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 // crops & plants
registerAsCompostableItem("rice", RICE, false); 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", "calla_lily"), CALLA_LILY);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dandelion_seed"), DANDELION_SEED); 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", "small_lamp_grass"), SMALL_LAMP_GRASS);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "mint"), MINT); Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "mint"), MINT);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "pepper"), PEPPER); 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", "strange_tooth"), STRANGE_TOOTH);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "vitalized_dragontooth"), VITALIZED_DRAGONTOOTH); 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", "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", "sunsettia"), SUNSETTIA);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "cecilia"), CECILIA); 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", "wolfhook"), WOLFHOOK);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "qingxin"), QINGXIN); Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "qingxin"), QINGXIN);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "starconch"), STARCONCH); 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_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_fragment"), AGNIDUS_AGATE_FRAGMENT);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "agnidus_agate_chunk"), AGNIDUS_AGATE_CHUNK); 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", "juvenile_jade"), JUVENILE_JADE);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "crystalline_bloom"), CRYSTALLINE_BLOOM); 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_condensate"), SLIME_CONDENSATE);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "slime_secretions"), SLIME_SECRETIONS); Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "slime_secretions"), SLIME_SECRETIONS);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "slime_concentrate"), SLIME_CONCENTRATE); 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", "shimmering_nectar"), SHIMMERING_NECTAR);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "energy_nectar"), ENERGY_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", "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", "guide_to_ballad"), GUIDE_TO_BALLAD);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "philosophies_of_ballad"), PHILOSOPHIES_OF_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", "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", "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", "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", "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", "debris_of_decarabians_city"), DEBRIS_OF_DECARABIANS_CITY);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "fragment_of_decarabians_epic"), FRAGMENT_OF_DECARABIANS_EPIC); 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", "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", "chunk_of_aerosiderite"), CHUNK_OF_AEROSIDERITE);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "heavy_horn"), HEAVY_HORN); // potions
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", "unmoving_essential_oil"), UNMOVING_ESSENTIAL_OIL); 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", "shocking_essential_oil"), SHOCKING_ESSENTIAL_OIL);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "gushing_essential_oil"), GUSHING_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", "heatshield_potion"), HEATSHIELD_POTION);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "dendrocide_potion"), DENDROCIDE_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", "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", "teyvat_fried_egg"), TEYVAT_FRIED_EGG);
Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "steak"), STEAK); Registry.register(Registry.ITEM, new Identifier("teyvatcraft", "steak"), STEAK);

View File

@ -62,7 +62,7 @@ public class TerrainsManager {
.spreadHorizontally() .spreadHorizontally()
.repeat(24); .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, RegistryKey<ConfiguredFeature<?, ?>> regKey = RegistryKey.of(Registry.CONFIGURED_FEATURE_WORLDGEN,
new Identifier("teyvatcraft", mIdentifier)); new Identifier("teyvatcraft", mIdentifier));
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, regKey.getValue(), genStasticas); Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, regKey.getValue(), genStasticas);
@ -71,10 +71,10 @@ public class TerrainsManager {
public static void RegisterAll() { public static void RegisterAll() {
// ore gen // ore gen
RegisterOreGeneration("oregen_magical_crystal_ore", OREGEN_MAGICAL_CRYSTAL_CHUNK_ORE); registerOreGeneration("oregen_magical_crystal_ore", OREGEN_MAGICAL_CRYSTAL_CHUNK_ORE);
RegisterOreGeneration("oregen_crystal_ore", OREGEN_CRYSTAL_CHUNK_ORE); registerOreGeneration("oregen_crystal_ore", OREGEN_CRYSTAL_CHUNK_ORE);
RegisterOreGeneration("oregen_white_iron_ore", OREGEN_WHITE_IRON_CHUNK_ORE); registerOreGeneration("oregen_white_iron_ore", OREGEN_WHITE_IRON_CHUNK_ORE);
RegisterOreGeneration("oregen_iron_ore", OREGEN_IRON_CHUNK_ORE); registerOreGeneration("oregen_iron_ore", OREGEN_IRON_CHUNK_ORE);
RegisterOreGeneration("oregen_starsilver_ore", OREGEN_STARSILVER_ORE); registerOreGeneration("oregen_starsilver_ore", OREGEN_STARSILVER_ORE);
} }
} }

View 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"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/calla_lily"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/cecilia"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/dandelion_seed"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/glaze_lily"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/horsetail"
}
}
}

View File

@ -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"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/matsutake"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/mint"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/philanemo_mushroom"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/qingxin"
}
}
}

View File

@ -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"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/small_lamp_grass"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/snapdragon"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/sweet_flower"
}
}
}

View File

@ -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"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "teyvatcraft:block/windwheel_aster"
}
}
}

View File

@ -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"
}
}
}

View File

@ -42,6 +42,25 @@
"block.teyvatcraft.radish": "Radish", "block.teyvatcraft.radish": "Radish",
"block.teyvatcraft.rice_seed": "Rice Seed", "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.rice": "Rice",
"item.teyvatcraft.tomato": "Tomato", "item.teyvatcraft.tomato": "Tomato",
"item.teyvatcraft.onion": "Onion", "item.teyvatcraft.onion": "Onion",

View File

@ -41,6 +41,25 @@
"block.teyvatcraft.cabbage": "卷心菜", "block.teyvatcraft.cabbage": "卷心菜",
"block.teyvatcraft.radish": "白萝卜", "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.rice": "稻米",
"item.teyvatcraft.tomato": "番茄", "item.teyvatcraft.tomato": "番茄",
"item.teyvatcraft.onion": "洋葱", "item.teyvatcraft.onion": "洋葱",

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/berry_stage0"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/berry_stage1"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/berry_stage2"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/berry_stage3"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/calla_lily"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/cecilia"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/dandelion_seed"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/glaze_lily"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/horsetail"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/jueyun_chili_stage0"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/jueyun_chili_stage1"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/jueyun_chili_stage2"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/jueyun_chili_stage3"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/matsutake"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/mint"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/philanemo_mushroom"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/qingxin"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/silk_flower_stage0"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/silk_flower_stage1"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/silk_flower_stage2"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/silk_flower_stage3"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/small_lamp_grass"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/snapdragon"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/sweet_flower"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/valberry_stage0"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/valberry_stage1"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/valberry_stage2"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/valberry_stage3"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/windwheel_aster"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/wolfhook_stage0"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/wolfhook_stage1"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/wolfhook_stage2"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "teyvatcraft:block/wolfhook_stage3"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

View File

@ -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"
}
]
}

View File

@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "teyvatcraft:calla_lily"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View File

@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "teyvatcraft:cecilia"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View File

@ -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"
}
]
}
]
}
]
}

View File

@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "teyvatcraft:dandelion_seed"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View File

@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "teyvatcraft:glaze_lily"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View File

@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "teyvatcraft:horsetail"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

Some files were not shown because too many files have changed in this diff Show More