• Recently Browsing

    No registered users viewing this page.

  • Posts

    • so uh, i personally like to use forge for my combining my mods, recently i tried launching minecraft with forge but for some apparent reason the launcher is stuck at "preparing", i tried reinstalling minecraft, reinstalling forge, delete the mod u used before, using a different version of forge for 1.8.9 and they did not  work at all... im currently using forge 1.8.9 11.15.1.1722 . if anyone knows the answer to this pls help me its been 2 days without forge
    • I tried removing the second getCapability() constructor(the one that returns capability) and referring to capability directly. Made no difference. Also added the @Nullable annotation to see if that did anything. Made no difference either. Current code for CommonCapabilityProvider.java package com.lk1905.gielinorcraft.capability; import javax.annotation.Nullable; import net.minecraft.nbt.INBT; import net.minecraft.util.Direction; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.ICapabilitySerializable; import net.minecraftforge.common.util.LazyOptional; public class CommonCapabilityProvider<HANDLER> implements ICapabilitySerializable<INBT>{ protected final Capability<HANDLER> capability; protected final Direction side; protected final HANDLER instance; protected final LazyOptional<HANDLER> lazyOptional; public CommonCapabilityProvider(final Capability<HANDLER> capability, @Nullable final Direction side, @Nullable final HANDLER instance) { this.capability = capability; this.side = side; this.instance = instance; if(this.instance != null) { lazyOptional = LazyOptional.of(() -> this.instance); }else { lazyOptional = LazyOptional.empty(); } } @Override public <T> LazyOptional<T> getCapability(final Capability<T> cap, @Nullable final Direction side) { return capability.orEmpty(cap, lazyOptional); } @Nullable @Override public INBT serializeNBT() { return capability.writeNBT(getInstance(), getFacing());//<-- THIS LINE } @Override public void deserializeNBT(INBT nbt) { capability.readNBT(getInstance(), getFacing(), nbt); } @Nullable public Direction getFacing() { return side; } @Nullable public HANDLER getInstance() { return instance; } }  
    • I'm using eclipse I understand i should be using the forge logger   import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; static final Logger Logger= LogManager.getLogger(MODID);   as an example i do ; Logger.debug("Help Me");   where does the file go?   it doesn't show up on my Eclipse console, or any log file i can find in  project directory..   probably a silly question but i haven't had a log file since 1.13
    • I watched so many different videos on how to make a mc forge 1.12.2 server so I can play with friends, but everytime when I think ive got everything fixed and correct. It crashed and I dont even know where to begin on looking for a fix. There is so many thing that are all different info and dont understand what its saying and dont get where the problem is.  Ive attached my most recent crash log. Please help me understand. crash-2020-02-22_00.52.22-server.txt
    • i've been seeking to play all the mods 4 (or whatever the new one is) for 1.14.four however whenever i try to launch it, the sport just crashes. i have attempted putting in forge 1.14.4 through itself, and the sport nevertheless crashes... is there a problem with 1.14.four or am i doing something wrong?
  • Topics

  • Who's Online (See full list)