Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@

public class ChangedFoods {
public static final FoodProperties ORANGE = (new FoodProperties.Builder()).nutrition(2).saturationMod(0.7F).build();
public static final FoodProperties DRIED_ORANGE = (new FoodProperties.Builder()).nutrition(1).saturationMod(0.3F).build();
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public InteractionResult useOn(UseOnContext context) {
return InteractionResult.PASS;
}
});
public static final RegistryObject<Item> DRIED_ORANGE = register("dried_orange", () -> new Item(new Item.Properties().food(ChangedFoods.DRIED_ORANGE)));
public static final RegistryObject<Syringe> SYRINGE = register("syringe", () -> new Syringe(new Item.Properties().stacksTo(16)));
public static final RegistryObject<BloodSyringe> BLOOD_SYRINGE = register("blood_syringe", () -> new BloodSyringe(new Item.Properties().stacksTo(1)));
public static final RegistryObject<TransfurCrystalItem> BEIFENG_CRYSTAL_FRAGMENT = register("beifeng_crystal_fragment",
Expand All @@ -113,6 +114,7 @@ protected void onDrink(ItemStack stack, Level level, LivingEntity user) {
public static final RegistryObject<FilledMug> MUG_WITH_WHITE_LATEX = register("mug_with_white_latex", () -> new LatexFilledMug(ChangedLatexTypes.WHITE_LATEX, new Item.Properties().stacksTo(16)));
public static final RegistryObject<TransfurCrystalItem> WOLF_CRYSTAL_FRAGMENT = register("wolf_crystal_fragment",
() -> new TransfurCrystalItem(ChangedTransfurVariants.CRYSTAL_WOLF));
public static final RegistryObject<Item> PHAGE_CRYSTAL = register("phage_crystal", () -> new Item(new Item.Properties()));
public static final RegistryObject<TransfurCrystalItem> DARK_DRAGON_CRYSTAL_FRAGMENT = register("dark_dragon_crystal_fragment",
() -> new TransfurCrystalItem(ChangedTransfurVariants.DARK_DRAGON));
public static final RegistryObject<AbstractLatexItem> WHITE_LATEX_GOO = register("white_latex_goo", () -> new AbstractLatexItem(ChangedBlocks.WHITE_LATEX_WALL_SPLOTCH.get(), ChangedLatexTypes.WHITE_LATEX));
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/net/ltxprogrammer/changed/init/ChangedTabs.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ private static RegistryObject<CreativeModeTab> register(String id, Function<Crea
output.accept(ChangedItems.MUG_WITH_DARK_LATEX.get());
output.accept(ChangedItems.MUG_WITH_WHITE_LATEX.get());
output.accept(ChangedItems.ORANGE.get());
output.accept(ChangedItems.DRIED_ORANGE.get());
output.accept(ChangedItems.SYRINGE.get());
output.accept(ChangedItems.BLOOD_SYRINGE.get());
output.accept(ChangedItems.DARK_LATEX_GOO.get());
Expand All @@ -226,6 +227,7 @@ private static RegistryObject<CreativeModeTab> register(String id, Function<Crea
output.accept(ChangedItems.BEIFENG_CRYSTAL_FRAGMENT.get());
output.accept(ChangedItems.WOLF_CRYSTAL_FRAGMENT.get());
output.accept(ChangedItems.DARK_DRAGON_CRYSTAL_FRAGMENT.get());
output.accept(ChangedItems.PHAGE_CRYSTAL.get());
output.accept(ChangedItems.LATEX_INKBALL.get());
output.accept(ChangedItems.ROOMBA.get());
output.accept(ChangedItems.EXOSKELETON.get());
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/changed/lang/cs_cz.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
"item.changed.latex_inkball": "Latexová inkoustová koule",
"item.changed.latex_syringe": "Stříkačka s latexem",
"item.changed.wolf_crystal_fragment": "Vlčí krystalový střep",
"item.changed.phage_crystal": "Fágový krystal",
"item.changed.latex_tipped_arrow": "Šip namočený v latex",
"item.changed.mug_with_water": "Hrnek vody",
"item.changed.mug_with_milk": "Hrnek mléka",
Expand All @@ -168,6 +169,7 @@
"item.changed.navy_pants": "Tmavě modré kalhoty",
"item.changed.nitrile_gloves": "Nitrilové rukavice",
"item.changed.orange": "Pomeranč",
"item.changed.dried_orange": "Vysušený pomeranč",
"item.changed.orange_neck_tie": "Oranžová kravata",
"item.changed.pink_shorts": "Růžové šortky",
"item.changed.red_neck_tie": "Červená kravata",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/changed/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
"item.changed.latex_inkball": "Latex Inkball",
"item.changed.latex_syringe": "Latex Syringe",
"item.changed.wolf_crystal_fragment": "Wolf Crystal Shard",
"item.changed.phage_crystal": "Phage Crystal",
"item.changed.latex_tipped_arrow": "Latex Tipped Arrow",
"item.changed.mug_with_water": "Water Filled Mug",
"item.changed.mug_with_milk": "Milk Filled Mug",
Expand All @@ -168,6 +169,7 @@
"item.changed.navy_pants": "Navy Pants",
"item.changed.nitrile_gloves": "Nitrile Gloves",
"item.changed.orange": "Orange",
"item.changed.dried_orange": "Dried Orange",
"item.changed.orange_neck_tie": "Orange Neck Tie",
"item.changed.pink_shorts": "Pink Shorts",
"item.changed.red_neck_tie": "Red Neck Tie",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "changed:item/dried_orange"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "changed:item/phage_crystal"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
"weight": 1,
"name": "changed:dark_dragon_crystal_fragment"
},
{
"type":"minecraft:item",
"weight": 1,
"name": "changed:phage_crystal"
},
{
"type": "minecraft:item",
"weight": 2,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"min": 1,
"max": 5
},
"entries": [
{
"type": "minecraft:item",
"name": "changed:dried_orange",
"weight": 1
}
]
},
{
"rolls": {
"type": "minecraft:uniform",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 1.0,
"max": 3.0
},
"add": false
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 0.0,
"max": 1.0
}
}
],
"name": "changed:dark_latex_goo"
}
]
},
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 0.0,
"max": 1.0
},
"add": false
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 0.0,
"max": 1.0
}
}
],
"name": "changed:phage_crystal"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 1.0,
"max": 3.0
},
"add": false
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 0.0,
"max": 1.0
}
}
],
"name": "changed:dark_latex_goo"
}
]
},
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 0.0,
"max": 1.0
},
"add": false
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 0.0,
"max": 1.0
}
}
],
"name": "changed:phage_crystal"
}
]
}
]
}
10 changes: 10 additions & 0 deletions src/main/resources/data/changed/recipes/dried_orange_campfire.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "minecraft:campfire_cooking",
"category": "food",
"cookingtime": 600,
"experience": 0.1,
"ingredient": {
"item": "changed:orange"
},
"result": "changed:dried_orange"
}
10 changes: 10 additions & 0 deletions src/main/resources/data/changed/recipes/dried_orange_furnace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "minecraft:smelting",
"category": "food",
"cookingtime": 200,
"experience": 0.1,
"ingredient": {
"item": "changed:orange"
},
"result": "changed:dried_orange"
}
10 changes: 10 additions & 0 deletions src/main/resources/data/changed/recipes/dried_orange_smoker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "minecraft:smoking",
"category": "food",
"cookingtime": 100,
"experience": 0.1,
"ingredient": {
"item": "changed:orange"
},
"result": "changed:dried_orange"
}
16 changes: 16 additions & 0 deletions src/main/resources/data/changed/recipes/form_phage_latex_wolf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "changed:infuser",
"ingredients": [
{
"item": "changed:latex_base"
},
{
"item": "changed:phage_crystal"
},
{
"item": "changed:dark_latex_goo"
}
],
"gendered": true,
"form": "changed:form_phage_latex_wolf"
}
Loading