Jump to content

Wolf2323

Members
  • Posts

    3
  • Joined

  • Last visited

Wolf2323's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. ok thanks, but in 1.12.2 it was possible, and i need this feature in 1.13.2. So is there any way to solve this Problem?
  2. I have another Question for my mo So when i see all right, the recipe files in resources/data/.. does not support nbt in result any more. So in 1.12.2 my results of recipes contains nbt, that is not loaded anymore in 1.13.2? Is there any way to solve this?
  3. Hello I have recently started modding with forge in 1.12.2. and now i want to update my mod to 1.13.2. When i start updating i have some problems: My Code in 1.12.2: public class LyriaIngredientFactorie implements IIngredientFactory { @Override public Ingredient parse(JsonContext context, JsonObject json) { Ingredient ingredient = context.getConstant(json.get("item").getAsString()); ingredient.getMatchingStacks()[0].setCount(json.get("count").getAsInt()); return ingredient; } } In 1.13.2 there is no class IIngredientFactory. I think the new Class is IIngredientSerializer, but i am not sure. I tried it out, but i downt know public class LyriaIngredientFactorie implements IIngredientSerializer<IngredientOverride> { @Override public IngredientOverride parse(PacketBuffer buffer) { return null; } @Override public IngredientOverride parse(JsonObject json) { return null; } @Override public void write(PacketBuffer buffer, IngredientOverride ingredient) { } } Maybe someone can help me updating this. A second broblem is, that i used the classes "FMLClientHandler" and "ReflectionHelper" and both are not working any more. I called "FMLClientHandler.instance().getClient().player" in the FMLClientHandler, so what is the new call? I hope someone can help me, thanks in advance Wolf2323
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.