Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.14.2] How to add custom food items


kwpugh
 Share

Recommended Posts

Hi,

 

Looking for some guidance .

 

I had ported some of my mod from 1.12.2 -> 1.13.2 which worked, but the food items do not work moving from 1.13.2 -> 1.14.2.

 

Here is what I had in 1.13.2 in my main class: 

 

    @SubscribeEvent
        public static void registerItems(final RegistryEvent.Register<Item> event)
        {
            event.getRegistry().registerAll
            {
                ItemList.gobber2_goo = new ItemFood(8, 1, false, new Item.Properties().group(gobber2)).setRegistryName(location("gobber2_goo")),
                ItemList.gobber2_gooey_bread = new ItemFood(9, 1, false, new Item.Properties().group(gobber2)).setRegistryName(location("gobber2_gooey_bread"))
            );
            
            logger.info("Items registered.");
        }

 

Since I am quite new to programming, if the above was the incorrect way to do it, feedback is welcome.

 

I saw that ItemFood changed to Food, but am unclear how to properly form the registration.

 

Here is the ItemList class:

 

public class ItemList
{
    public static Item gobber2_goo;
    public static Item gobber2_gooey_bread;
}

 

Any guidance would be appreciated.

 

Regards

 

Link to comment
Share on other sites

In Eclipse, I get an error "ItemFood cannot be resolved to a type", which makes sense that the class got renamed.

 

I then change the ItemFood reference to Food as seen below:

ItemList.gobber2_goo = new Food(8, 1, false, new Item.Properties().group(gobber2)).setRegistryName(location("gobber2_goo")),

ItemList.gobber2_gooey_bread = new Food(9, 1, false, new Item.Properties().group(gobber2)).setRegistryName(location("gobber2_gooey_bread")),

 

Eclipse gives the error "Food cannot be resolved to a type".  I take the suggested fix to "import 'Food' (net.minecraft.item)".  Eclipse then gives the error "The constructor Food(int, int, boolean, Item.Properties) is undefined".

 

I'm stuck there.

 

 

Link to comment
Share on other sites

ItemFood is gone now, whether or not something is a food is defined by a field in the item's properties (this is nice because something can now easily be a food and also something else, because it doesn't have to be an ItemFood AND an ItemArmour, for example). This is the same object you give it when you set the registry name and group on, so you can just call all the necessary methods on that object.

 

If you have a look at how a food item (bread, for example) is created in the vanilla Items class, a (currently unnamed) method is called on the properties given to the item. This method takes a Food object, and you can check the Foods class to see how you make the Food objects. The methods it uses for this are also still unnamed, but you can probably work out what each one does by looking at what food each Food object corresponds to.

 

If you're new to programming aren't certain about how to check these things, I'm not sure about the exact process in Eclipse but if you right-click on the name of a class somewhere in your code there should be the option to view the source somewhere, this is a good way of learning how things work by checking how vanilla does things. You can also just browse through the vanilla code in your project libraries, which in Eclipse are (I think?) down the side underneath all your classes you've written and stuff.

Link to comment
Share on other sites

ah yes, I have been reading through the reference libraries to try to figure out how things work.

 

So, would it be formed something like this:

ItemList.gobber2_goo = new Food(new Item.Properties().group(gobber2), "gobber2_foo").value(4).saturation(0.6F).build()

 

But it seems the Item.Properties works with that.   Is that what the Food.Builder is for?

Link to comment
Share on other sites

gobber2_goo still needs to be an Item, which Food is not (it doesn't extend Item like ItemFood did).

 

Take your original code using ItemFood and change it to Item. This will give you a generic non-food item, like you've probably created elsewhere. You can now call another method on the Item.Properties object you are giving it to give the Item.Properties food properties.

 

If you look into the Items class, you'll see where all the vanilla items are created. This is where you can find the method you need, because vanilla foods use it (this will also give you some usage examples). The method is in Item.Properties (my mappings are a bit old so it's func_221540_a for me, it might have a name for you updated my mappings, it's called food now). This method takes a single argument, which would be the Food you just constructed.

 

It'd end up looking like this:

Food gooFood = (new Food.Builder()).value(4).saturation(0.6F).build();

ItemList.gobber2_goo = new Item(new Item.Properties().group(gobber2).setRegistryName(location("gobber2_goo").food(gooFood));

 

Edited by fweo
  • Thanks 1
Link to comment
Share on other sites

I think I understand, but let me run through it.

 

I declare a method to setup the food item in my FoodList.java:

public static Food gooFood = (new Food.Builder()).hunger(4).saturation(0.6F).build();

 

Then I setup an item in my ItemList.java:

public static Item gobber2_goo;

 

Lastly, I setup a line to register the item in my main class, Gobber2.java and pass it the food properties:

ItemList.gobber2_goo = new Item(new Item.Properties().group(gobber2)).setRegistryName(location("gobber2_goo")).food(FoodList.gooFood)

 

At which point, I get an error saying "The method food(Food) is undefined for the type Item"

 

In referencing the Minecraft Item.class, I reviewed this section, which appears to list the available Item.Properties:

public Item(Item.Properties properties) {

      this.addPropertyOverride(new ResourceLocation("lefthanded"), LEFTHANDED_GETTER);

      this.addPropertyOverride(new ResourceLocation("cooldown"), COOLDOWN_GETTER);

      this.addPropertyOverride(new ResourceLocation("custom_model_data"), MODELDATA_GETTER);

      this.group = properties.group;

      this.rarity = properties.rarity;

      this.containerItem = properties.containerItem;

      this.maxDamage = properties.maxDamage;

      this.maxStackSize = properties.maxStackSize;

      this.food = properties.food;

      if (this.maxDamage > 0) {

         this.addPropertyOverride(new ResourceLocation("damaged"), DAMAGED_GETTER);

         this.addPropertyOverride(new ResourceLocation("damage"), DAMAGE_GETTER);

      }

      this.canRepair = properties.canRepair;

      this.toolClasses.putAll(properties.toolClasses);

      Object tmp = properties.teisr == null ? null : net.minecraftforge.fml.DistExecutor.callWhenOn(Dist.CLIENT, properties.teisr);

      this.teisr = tmp == null ? null : () -> (net.minecraft.client.renderer.tileentity.ItemStackTileEntityRenderer) tmp;

 

If I am reading correctly, .food is a valid property for type Item.   So, I must have something else goofed up.

 

The last one mentioned in the main class, Gobber2.java looks like this:

 

@Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD)

public static class RegistryEvents

{

@SubscribeEvent

public static void registerItems(final RegistryEvent.Register<Item> event)

{

event.getRegistry().registerAll

(

ItemList.gobber2_goo = new Item(new Item.Properties().group(gobber2)).setRegistryName(location("gobber2_goo")).food(FoodList.gooFood),

);

logger.info("Items registered.");

}

 

 

Edited by kwpugh
Link to comment
Share on other sites

[SOLVED]

Turns out the order of the properties matter.   I moved the .food property to the front and it works.

 

ItemList.gobber2_goo = new Item(new Item.Properties().food(FoodList.gooFood).group(gobber2)).setRegistryName(location("gobber2_goo")),

 

Thank you for all the guidance.

 

 

Link to comment
Share on other sites

Last question related to food (hopefully).

 

I have a food that is a stew.   How best to give the bowl back after eating?

 

In my 1.12.2 mod, I had a class for each stew that extended ItemFood and gave the player a bowl in the onFoodEaten method.

 

Is there a better way with 1.14.2?

 

 

Link to comment
Share on other sites

It's not that the order of the properties that matters. Let's look at this line for a second:

 new Item(newItem.Properties().group(gobber2)).setRegistryName(location("gobber2_goo")).food(FoodList.gooFood)

 

If I space it out a bit so we can read it a little more easily (you can keep spacing as it was in the actual code):

new Item(
    // start constructing item properties
  new Item.Properties().group(gobber2)
    // finish constructing item properties
).setRegistryName(location("gobber2_goo")).food(FoodList.gooFood)

that middle line is creating the Properties object. You were calling the food method on the Item object. You're right that food is a thing in Item, but it's just a variable not a method. As it happens, all the Properties::food method does is tell the Properties object to put your Food into that field, as you can see in the Item constructor you posted.

 

Comparing to your working one:

new Item(
    // start constructing item properties
  new Item.Properties().food(FoodList.gooFood).group(gobber2)
    // finish constructing item properties
).setRegistryName(location("gobber2_goo"))

Now you're (correctly) calling the food method on the Item.Properties object. The only actual difference from your working one is the placement of a single bracket, which is determining what object you're calling the methods on. Changing the order works fine, you can apply properties to the Item.Properties object in whatever order you like (each method returns the Item.Properties object allowing you to "chain" the method calls like you have here). For example, this would also work:

new Item(
    // start constructing item properties
  new Item.Properties().group(gobber2).food(FoodList.gooFood)
    // finish constructing item properties
).setRegistryName(location("gobber2_goo"))

If you had more changes to properties, like rarity or max stack size, you could put them in there too in any order. Hopefully understanding this will help clear up future problems.

 

Also, if you click the button that looks like < > at the top of your editor when you're posting, you can post code in the style that I'm using here, which will make your post look a lot cleaner.

Edited by fweo
  • Like 1
Link to comment
Share on other sites

There's a class called SoupItem that does exactly what you want, simply changing Item to SoupItem will give you a bowl back once you've finished eating it. If you want something other than a vanilla bowl you can just create a modified version of that class to give you whatever you want.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • i want to play on my server with the create and a potato mod but it says I have to download this first  
    • Could be a problem with StructureGel, Create, Flywheel or Securitycraft.
    • Soooo my Game keeps crashing and i dont even know whats causing it. Im using my own Modpack which is 79 Mods big. Heres the Crashreport, i hope someone could help me: --- Minecraft Crash Report ---- // Why did you do that? Time: 22.01.22, 13:26 Description: Rendering screen java.lang.NullPointerException: Cannot invoke "net.minecraft.CrashReport.m_127526_()" because "p_91333_" is null     at net.minecraft.client.Minecraft.m_91332_(Minecraft.java:772) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.doLoadLevel(Minecraft.java:1973) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.lambda$doLoadLevel$39(Minecraft.java:1993) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.lambda$displayExperimentalConfirmationDialog$41(Minecraft.java:2028) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.ConfirmScreen.m_169258_(ConfirmScreen.java:56) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading}     at net.minecraft.client.gui.components.Button.m_5691_(Button.java:40) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,re:classloading}     at com.legacy.structure_gel.core.events.SGClientEvents.skipExperimentalBackupScreen(SGClientEvents.java:73) ~[structure_gel-1.18.1-2.1.2.jar%23113!/:2.1.2] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:381) ~[forge-1.18.1-39.0.56-universal.jar%23134!/:?] {re:classloading}     at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:373) ~[forge-1.18.1-39.0.56-universal.jar%23134!/:?] {re:classloading}     at jdk.internal.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.optifine.reflect.Reflector.callVoid(Reflector.java:682) ~[OptiFine_1.18.1_HD_U_H4.jar%23135!/:?] {re:classloading}     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:1276) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,xf:fml:voidscape:camerahurt,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,xf:fml:voidscape:camerahurt,pl:mixin:APP:securitycraft.mixins.json:camera.GameRendererMixin,pl:mixin:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1040) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:660) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.0.56.jar%2323!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at net.minecraft.client.Minecraft.m_91332_(Minecraft.java:772) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.doLoadLevel(Minecraft.java:1973) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.lambda$doLoadLevel$39(Minecraft.java:1993) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.lambda$displayExperimentalConfirmationDialog$41(Minecraft.java:2028) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.ConfirmScreen.m_169258_(ConfirmScreen.java:56) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading}     at net.minecraft.client.gui.components.Button.m_5691_(Button.java:40) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,re:classloading}     at com.legacy.structure_gel.core.events.SGClientEvents.skipExperimentalBackupScreen(SGClientEvents.java:73) ~[structure_gel-1.18.1-2.1.2.jar%23113!/:2.1.2] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.client.ForgeHooksClient.drawScreenInternal(ForgeHooksClient.java:381) ~[forge-1.18.1-39.0.56-universal.jar%23134!/:?] {re:classloading}     at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:373) ~[forge-1.18.1-39.0.56-universal.jar%23134!/:?] {re:classloading}     at jdk.internal.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.optifine.reflect.Reflector.callVoid(Reflector.java:682) ~[OptiFine_1.18.1_HD_U_H4.jar%23135!/:?] {re:classloading} -- Screen render details -- Details:     Screen name: net.minecraft.client.gui.screens.LevelLoadingScreen     Mouse location: Scaled: (201, 222). Absolute: (402.000000, 444.000000)     Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2.000000 Stacktrace:     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:1276) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,xf:fml:voidscape:camerahurt,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,xf:fml:voidscape:camerahurt,pl:mixin:APP:securitycraft.mixins.json:camera.GameRendererMixin,pl:mixin:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1040) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:660) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.0.56.jar%2323!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: Yes     Packs: Mod Resources, Default Stacktrace:     at net.minecraft.client.ResourceLoadStateTracker.m_168562_(ResourceLoadStateTracker.java:49) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2255) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:677) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:PausedPartialTickAccessor,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:APP:securitycraft.mixins.json:camera.MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%23130!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.0.56.jar%2323!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} -- System Details -- Details:     Minecraft Version: 1.18.1     Minecraft Version ID: 1.18.1     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.1, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 2074522088 bytes (1978 MiB) / 6912212992 bytes (6592 MiB) up to 8589934592 bytes (8192 MiB)     CPUs: 4     Processor Vendor: GenuineIntel     Processor Name: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz     Identifier: Intel64 Family 6 Model 142 Stepping 9     Microarchitecture: Amber Lake     Frequency (GHz): 2,90     Number of physical packages: 1     Number of physical CPUs: 2     Number of logical CPUs: 4     Graphics card #0 name: Intel(R) HD Graphics 620     Graphics card #0 vendor: Intel Corporation (0x8086)     Graphics card #0 VRAM (MB): 1024,00     Graphics card #0 deviceId: 0x5916     Graphics card #0 versionInfo: DriverVersion=27.20.100.8854     Memory slot #0 capacity (MB): 8192,00     Memory slot #0 clockSpeed (GHz): 2,13     Memory slot #0 type: DDR4     Virtual memory max (MB): 32659,75     Virtual memory used (MB): 14018,09     Swap memory total (MB): 24576,00     Swap memory used (MB): 2183,98     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Launched Version: 1.18.1-forge-39.0.56     Backend library: LWJGL version 3.2.2 SNAPSHOT     Backend API: Intel(R) HD Graphics 620 GL version 3.2.0 - Build 27.20.100.8854, Intel     Window size: 854x480     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages:      Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'     Type: Integrated Server (map_client.txt)     Graphics mode: fast     Resource Packs: mod_resources, vanilla, quark:emote_resources (incompatible)     Current Language: English (US)     CPU: 4x Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz     Server Running: true     Player Count: 0 / 8; []     Data Packs: vanilla, mod:extraarmor (incompatible), mod:cyclopscore, mod:quarkoddities (incompatible), mod:blue_skies (incompatible), mod:dusk (incompatible), mod:shrines (incompatible), mod:jei (incompatible), mod:conjurer_illager (incompatible), mod:soaringstructures2 (incompatible), mod:libraryferret, mod:wonderful_enchantments (incompatible), mod:looot (incompatible), mod:waystones, mod:weaponthrow, mod:clumps (incompatible), mod:oresabovediamonds (incompatible), mod:awesomedungeon, mod:citadel, mod:sereneseasons (incompatible), mod:feature_nbt_deadlock_be_gone, mod:dungeoncrawl, mod:chancecubes (incompatible), mod:balm (incompatible), mod:waterstrainer, mod:vtweaks (incompatible), mod:beyond_earth (incompatible), mod:paraglider (incompatible), mod:forge, mod:chococraft, mod:structure_gel, mod:selene (incompatible), mod:ironchest, mod:dungeons_arise, mod:awesomedungeonocean, mod:tinyskeletons, mod:castle_in_the_sky (incompatible), mod:farmersdelight, mod:repurposed_structures, mod:panthalassa (incompatible), mod:morevillagers (incompatible), mod:endrem (incompatible), mod:majrusz_library (incompatible), mod:dimdungeons (incompatible), mod:flywheel, mod:create, mod:curios, mod:tetra (incompatible), mod:structure_spawn_loader, mod:patchouli, mod:mutil (incompatible), mod:advancednetherite, mod:autoreglib (incompatible), mod:securitycraft, mod:villagertools (incompatible), mod:regrowth (incompatible), mod:gobber2 (incompatible), mod:majruszs_difficulty (incompatible), mod:majruszs_accessories (incompatible), mod:workshopsofdoom, mod:hunterillager, mod:cfm, mod:architectury (incompatible), mod:mtr (incompatible), mod:londonunderground (incompatible), mod:vampirism, mod:solcarrot (incompatible), mod:puzzleslib, mod:voidscape (incompatible), mod:aquaculture (incompatible), mod:the_bumblezone, mod:crossbowverhaul, mod:frostrealm (incompatible), mod:valhelsia_core, mod:valhelsia_structures, mod:chiselsandbits, mod:geckolib3 (incompatible), mod:ars_nouveau (incompatible)     OptiFine Version: OptiFine_1.18.1_HD_U_H4     OptiFine Build: 20211212-175054     Render Distance Chunks: 4     Mipmaps: 4     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: null     OpenGlVersion: 3.2.0 - Build 27.20.100.8854     OpenGlRenderer: Intel(R) HD Graphics 620     OpenGlVendor: Intel     CpuCount: 4     ModLauncher: 9.1.0+9.1.0+main.6690ee51     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:           mixin PLUGINSERVICE           eventbus PLUGINSERVICE           object_holder_definalize PLUGINSERVICE           runtime_enum_extender PLUGINSERVICE           capability_token_subclass PLUGINSERVICE           accesstransformer PLUGINSERVICE           runtimedistcleaner PLUGINSERVICE           mixin TRANSFORMATIONSERVICE           OptiFine TRANSFORMATIONSERVICE           fml TRANSFORMATIONSERVICE      FML Language Providers:          minecraft@1.0         javafml@null     Mod List:          ExtraArmor-1.18-1.13.3.jar                        |Extra Armor                   |extraarmor                    |1.18-1.13.3         |DONE      |Manifest: NOSIGNATURE         CyclopsCore-1.18.1-1.12.1.jar                     |Cyclops Core                  |cyclopscore                   |1.12.1              |DONE      |Manifest: NOSIGNATURE         QuarkOddities-1.18.jar                            |Quark Oddities                |quarkoddities                 |1.18                |DONE      |Manifest: NOSIGNATURE         blue_skies-1.18.1-1.3.2.jar                       |Blue Skies                    |blue_skies                    |1.3.2               |DONE      |Manifest: NOSIGNATURE         dusk-1.18-1.7.jar                                 |Dusk Mod                      |dusk                          |1.18-1.7            |DONE      |Manifest: NOSIGNATURE         Shrines-1.18.1-3.0.0-Beta8.jar                    |Shrines                       |shrines                       |1.18.1-3.0.0-Beta8  |DONE      |Manifest: NOSIGNATURE         jei-1.18.1-9.2.1.69.jar                           |Just Enough Items             |jei                           |9.2.1.69            |DONE      |Manifest: NOSIGNATURE         the-conjurer-1.18.1-1.1.1.jar                     |The Conjurer                  |conjurer_illager              |1.1.1               |DONE      |Manifest: NOSIGNATURE         Soaring-Structures-2-1.18.1-2.1.jar               |Soaring Structures 2          |soaringstructures2            |1.18.1 - 2.1        |DONE      |Manifest: NOSIGNATURE         LibraryFerret-Forge-1.18.1-1.0.3.jar              |Library ferret                |libraryferret                 |1.0.3               |DONE      |Manifest: NOSIGNATURE         wonderful-enchantments-1.18.1-1.6.1.jar           |Wonderful Enchantments        |wonderful_enchantments        |1.6.1               |DONE      |Manifest: NOSIGNATURE         looot-1.18-1.1.0.0.jar                            |Looot                         |looot                         |1.1.0.0             |DONE      |Manifest: NOSIGNATURE         waystones-forge-1.18.1-9.0.3.jar                  |Waystones                     |waystones                     |9.0.3               |DONE      |Manifest: NOSIGNATURE         WeaponThrow-1.18-5.5.jar                          |Weapon Throw                  |weaponthrow                   |1.18-5.5            |DONE      |Manifest: NOSIGNATURE         Clumps-forge-1.18.1-8.0.4.jar                     |Clumps                        |clumps                        |8.0.4               |DONE      |Manifest: NOSIGNATURE         oresabovediamonds-1.18.1-v8.0.2.jar               |Ores Above Diamonds           |oresabovediamonds             |8.0.2               |DONE      |Manifest: NOSIGNATURE         awesomedungeon-2.0.4.jar                          |Awesome Dungeon               |awesomedungeon                |2.0.4               |DONE      |Manifest: NOSIGNATURE         citadel-1.10.8-1.18.jar                           |Citadel                       |citadel                       |1.10.8              |DONE      |Manifest: NOSIGNATURE         SereneSeasons-1.18.1-6.0.0.10-universal.jar       |Serene Seasons                |sereneseasons                 |1.18.1-6.0.0.10     |DONE      |Manifest: NOSIGNATURE         feature_nbt_deadlock_be_gone_forge-1.0.0+1.18.1.ja|Feature NBT Deadlock Be Gone  |feature_nbt_deadlock_be_gone  |1.0.0+1.18.1        |DONE      |Manifest: NOSIGNATURE         DungeonCrawl-1.18.1-2.3.6.jar                     |Dungeon Crawl                 |dungeoncrawl                  |2.3.6               |DONE      |Manifest: NOSIGNATURE         ChanceCubes-1.18.1-5.0.2.444.jar                  |Chance Cubes                  |chancecubes                   |1.18.1-5.0.2.444    |DONE      |Manifest: NOSIGNATURE         balm-2.4.1+0 (1).jar                              |Balm                          |balm                          |2.4.1+0             |DONE      |Manifest: NOSIGNATURE         WaterStrainer-1.18-12.1.0.jar                     |Water Strainer                |waterstrainer                 |1.18-12.1.0         |DONE      |Manifest: NOSIGNATURE         VTweaks-1.18-3.5.4.jar                            |V-Tweaks                      |vtweaks                       |3.5.4               |DONE      |Manifest: NOSIGNATURE         Beyond-Earth-1.18.1-6.0b.jar                      |Beyond Earth                  |beyond_earth                  |6.0                 |DONE      |Manifest: NOSIGNATURE         Paraglider-1.18-1.5.0.0.jar                       |Paraglider                    |paraglider                    |1.5.0.0             |DONE      |Manifest: NOSIGNATURE         forge-1.18.1-39.0.56-universal.jar                |Forge                         |forge                         |39.0.56             |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90         chococraft-1.18.1-0.2.1.jar                       |Chococraft 4                  |chococraft                    |0.2.1               |DONE      |Manifest: NOSIGNATURE         structure_gel-1.18.1-2.1.2.jar                    |Structure Gel API             |structure_gel                 |2.1.2               |DONE      |Manifest: NOSIGNATURE         selene-1.18-1.11.jar                              |Selene                        |selene                        |1.18-1.11.0         |DONE      |Manifest: NOSIGNATURE         ironchest-1.18-13.0.7.jar                         |Iron Chests                   |ironchest                     |1.18-13.0.7         |DONE      |Manifest: NOSIGNATURE         DungeonsArise-1.18.1-2.1.49c-beta.jar             |When Dungeons Arise           |dungeons_arise                |2.1.49c-1.18.1      |DONE      |Manifest: NOSIGNATURE         AwesomeDungeonOcean-Forge-1.18-2.0.3.jar          |Awesome Dungeon Ocean         |awesomedungeonocean           |2.0.3               |DONE      |Manifest: NOSIGNATURE         TinySkeletons-v3.1.0-1.18.1-Forge.jar             |Tiny Skeletons                |tinyskeletons                 |3.1.0               |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a         castle_in_the_sky-1.18.1-0.3.2.jar                |Castle in the sky             |castle_in_the_sky             |1.18.1              |DONE      |Manifest: NOSIGNATURE         client-1.18.1-20211210.034407-srg.jar             |Minecraft                     |minecraft                     |1.18.1              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f         FarmersDelight-1.18.1-1.0.3.jar                   |Farmer's Delight              |farmersdelight                |1.18.1-1.0.3        |DONE      |Manifest: NOSIGNATURE         repurposed_structures_forge-4.2.3+1.18.1.jar      |Repurposed Structures         |repurposed_structures         |4.2.3+1.18.1        |DONE      |Manifest: NOSIGNATURE         panthalassa-0.8.0+1.18.1.jar                      |Panthalassa Mod               |panthalassa                   |0.0NONE             |DONE      |Manifest: NOSIGNATURE         morevillagers-FORGE-1.18.1-3.1.1.jar              |More Villagers                |morevillagers                 |3.1.1               |DONE      |Manifest: NOSIGNATURE         endrem_forge-5.0.1-R-1.18.1.jar                   |End Remastered                |endrem                        |5.0-R-1.18.1        |DONE      |Manifest: NOSIGNATURE         majrusz-library-1.18.1-2.7.1.jar                  |Majrusz Library               |majrusz_library               |2.7.1               |DONE      |Manifest: NOSIGNATURE         dimdungeons-1.13.2-forge-1.18.1.jar               |Dimensional Dungeons          |dimdungeons                   |1.13.2              |DONE      |Manifest: NOSIGNATURE         flywheel-forge-1.18-0.5.1.jar                     |Flywheel                      |flywheel                      |1.18-0.5.1          |DONE      |Manifest: NOSIGNATURE         create-mc1.18.1_v0.4c.jar                         |Create                        |create                        |0.4c                |DONE      |Manifest: NOSIGNATURE         curios-forge-1.18.1-5.0.4.2.jar                   |Curios API                    |curios                        |1.18.1-5.0.4.2      |DONE      |Manifest: NOSIGNATURE         tetra-1.18.1-4.4.0.jar                            |Tetra                         |tetra                         |4.4.0               |DONE      |Manifest: NOSIGNATURE         structure_spawn_loader-1.18.1-1.0.0.0.jar         |Structure Spawn Loader        |structure_spawn_loader        |1.0.0.0             |DONE      |Manifest: NOSIGNATURE         Patchouli-1.18.1-63.jar                           |Patchouli                     |patchouli                     |1.18.1-63           |DONE      |Manifest: NOSIGNATURE         mutil-1.18.1-4.2.0.jar                            |mutil                         |mutil                         |4.2.0               |DONE      |Manifest: NOSIGNATURE         advancednetherite-1.10.0-1.18.1.jar               |Advanced Netherite            |advancednetherite             |1.10.0              |DONE      |Manifest: NOSIGNATURE         AutoRegLib-1.7-52.jar                             |AutoRegLib                    |autoreglib                    |1.7-52              |DONE      |Manifest: NOSIGNATURE         [1.18.1]+SecurityCraft+v1.9.0.2-beta1.jar         |SecurityCraft                 |securitycraft                 |1.9.0.2-beta1       |DONE      |Manifest: NOSIGNATURE         villagertools-1.18-1.0.2.jar                      |villagertools                 |villagertools                 |1.18-1.0.2          |DONE      |Manifest: 1f:47:ac:b1:61:82:96:b8:47:19:16:d2:61:81:11:60:3a:06:4b:61:31:56:7d:44:31:1e:0c:6f:22:5b:4c:ed         Regrowth--1.18.1-1.39.0.25.jar                    |Regrowth Mod                  |regrowth                      |1.18.1-1.39.0.25    |DONE      |Manifest: NOSIGNATURE         Gobber2-Forge-1.18.1-2.6.14.jar                   |Gobber 2                      |gobber2                       |2.6.14              |DONE      |Manifest: NOSIGNATURE         majruszs-difficulty-1.18.1-1.4.1.jar              |Majrusz's Progressive Difficul|majruszs_difficulty           |1.4.1               |DONE      |Manifest: NOSIGNATURE         majruszsaccessories-1.18.1-0.4.1.jar              |Majrusz's Accessories         |majruszs_accessories          |0.4.1               |DONE      |Manifest: NOSIGNATURE         workshopsofdoom-1.18.1-2.1.0.2.jar                |Workshops of Doom             |workshopsofdoom               |2.1.0.2             |DONE      |Manifest: NOSIGNATURE         HunterIllager-1.18.1-3.1.0.jar                    |Hunter Illager                |hunterillager                 |1.18.1-3.1.0        |DONE      |Manifest: NOSIGNATURE         furniture-7.0.0-pre28-1.18.1.jar                  |MrCrayfish's Furniture Mod    |cfm                           |7.0.0-pre28         |DONE      |Manifest: NOSIGNATURE         architectury-3.4.9.jar                            |Architectury                  |architectury                  |3.4.9               |DONE      |Manifest: NOSIGNATURE         MTR-forge-1.18-3.0.0-beta-8.jar                   |Minecraft Transit Railway     |mtr                           |1.18-3.0.0-beta-8   |DONE      |Manifest: NOSIGNATURE         mtr-lu-addon-forge-1.18-beta-8-1.0.10.jar         |MTR London Underground Addon  |londonunderground             |1.18-beta-8-1.0.10  |DONE      |Manifest: NOSIGNATURE         Vampirism-1.18.1-1.8.0-alpha+20220115-1439.jar    |Vampirism                     |vampirism                     |1.8.0-alpha+20220115|DONE      |Manifest: NOSIGNATURE         SoL-Carrot-1.18.1-1.12.0.jar                      |Spice of Life: Carrot Edition |solcarrot                     |1.18.1-1.12.0       |DONE      |Manifest: NOSIGNATURE         PuzzlesLib-v3.1.1-1.18.1-Forge.jar                |Puzzles Lib                   |puzzleslib                    |3.1.1               |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a         Voidscape-1.18.1-0.2.51.jar                       |Voidscape                     |voidscape                     |1.18.1-0.2.51       |DONE      |Manifest: NOSIGNATURE         Aquaculture-1.18.1-2.3.2.jar                      |Aquaculture 2                 |aquaculture                   |1.18.1-2.3.2        |DONE      |Manifest: NOSIGNATURE         the_bumblezone_forge-4.2.1+1.18.1.jar             |The Bumblezone                |the_bumblezone                |4.2.1+1.18.1        |DONE      |Manifest: NOSIGNATURE         crossbowverhaul-1.18.1-1.2.3-universal.jar        |Crossbowverhaul               |crossbowverhaul               |1.2.3               |DONE      |Manifest: NOSIGNATURE         frostrealm-1.18.1-0.1.4.1.jar                     |FrostRealm                    |frostrealm                    |1.18.1-0.1.4.1      |DONE      |Manifest: NOSIGNATURE         valhelsia_core-1.18.1-0.1.0.jar                   |Valhelsia Core                |valhelsia_core                |1.18.1-0.1.0        |DONE      |Manifest: NOSIGNATURE         valhelsia_structures-1.18.1-0.1.0.jar             |Valhelsia Structures          |valhelsia_structures          |1.18.1-0.1.0        |DONE      |Manifest: NOSIGNATURE         ChiselsBits-forge-1.18.1-1.2.77-universal.jar     |Chisels & bits                |chiselsandbits                |1.2.77              |DONE      |Manifest: NOSIGNATURE         geckolib-1.18-forge-3.0.3.jar                     |GeckoLib                      |geckolib3                     |3.0.3               |DONE      |Manifest: NOSIGNATURE         ars_nouveau-1.18.1-2.0.8.jar                      |Ars Nouveau                   |ars_nouveau                   |2.0.8               |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 96816215-1951-4553-9785-af285cc5ebad     Flywheel Backend: GL33 Instanced Arrays     FML: 39.0     Forge: net.minecraftforge:39.0.56
    • You set default values by initializing them on demand. On every access you must check if the data is already there. If it is not, create it. I recommend making a method for this.
    • okay, but how can I then set default values and why and why is the value still 0 despite right-click(onUse)?
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.