Everything posted by TestingSubject002
-
world.isRemote() returns true on server side?
Oh, God! How could I miss that?! Thank you very much. I am filling myself so stupid... But can you explain me then why are PowerDistributionEvent being called if they are server-side? (They are posted only on server)
-
world.isRemote() returns true on server side?
I'd got some kind of anomaly during creation of my Forge 1.12.2 modification. Short description: world.isRemote somehow returns true on server side. Long description: I have a class which extends Entity. I have put logic into onUpdate function and I was suprised when I figured out that this method is called on client side. I have added check to make sure that my logic is performed on server side. However, this check always fails. I have decided to test if I had accidentally called world.spawnEntity on client side (which is impossible!), so I put logger.info(world.isRemote); after that line (btw, what is the best method for testing?). This check has returned "true", what means that it was executed at the client side, but console thread says that this text was printed from server thread. I am feeling competely lost. The only one my proposition is that the problem is that I am using common logger for client and server sides, but I have never seen such Github repository: https://github.com/mystery-coder/Souls-Industry/tree/dev Problematical code parts: forgemod.mystery.soulsindustry.tile.TileLamp.consume(...) (Event is called from TickEvent.ServerTickEvent handler), forgemod.mystery.soulsindustry.entity.EntityWisp.onUpdate() Any help would be appreciated.
-
Cant open minecraft with forge
Does Minecraft without Forge work properly?
-
Item model with text?
I'll get a look at SimpleModelFontRenderer.
-
Item model with text?
There would be a lot of books and maybe player-generated, but text of every book is constant.
-
Item model with text?
Hello. I want to create a new item (book if telling more precisely) which has custom text on it. How can I do that? I suppose that I have to create my own ICustomModelLoader, IModel and return BakedItemModel with extra quads attached to letters' textures in IModel bake(...) function. Am I right?
-
How do i install mods CAN SOMEONE EXPLAIN I CANT GET TO APPDATA IN MY FILES!
Do you see ".minecraft" folder there? If yes, then it must contains "mods" folder. If you don't have this folder ("mods"), then make sure that you have Forge installed.
-
How do i install mods CAN SOMEONE EXPLAIN I CANT GET TO APPDATA IN MY FILES!
If you are using Windows, then go to the Start and enter "%AppData%" into the search bar. Don't forget about "%" symbols.
-
How do i install mods CAN SOMEONE EXPLAIN I CANT GET TO APPDATA IN MY FILES!
What's your problem? You can't find the folder?
-
Working with capabilities correctly.
Sorry, this won't repeat again. And what about other capabilities? For example, if I create my own capability, would it be safe to call CAPABILITY.getDefaultInstance() this way or should I do this inside of function annotated @CapabilityInject?
-
Working with capabilities correctly.
So?
-
Forge server error
What's your Java and server version?
-
Problem with the RAM allocated to the server
Try adding "pause" command at the end of your .bat file and post an error if it is.
-
i need some help forge keeps crashing
Well, sorry, but I can't figure out the problem. The only thing I can understand is that minecraft creashes before mod loading (bad Minecraft Forge version?). You should wait for more skilled member.
-
i need some help forge keeps crashing
Are you using any texture packs?
-
i need some help forge keeps crashing
Well, can you submit full log? By the way, you can drag file to your post to attach it, there is no need to post it's content this way. **EDIT:** Thanks, this one is fine.
-
i need some help forge keeps crashing
Wait, are we talking about Minecraft Forge?
-
i need some help forge keeps crashing
I... am not sure that this is Forge at all.
-
Problem with the RAM allocated to the server
- Working with capabilities correctly.
I can't understand how to correctly work with capabilities. For example, I have a Tile Entity which has IItemHandler Capability (1 slot is ok). @CapabilityInject(IItemHandler.class) public static final Capability<IItemHandler> ITEM_HANDLER_CAPABILITY = null; private IItemHandler inventory = ITEM_HANDLER_CAPABILITY.getDefaultInstance(); // ... hasCapability, getCapability and other stuff This code was written using McHorse tutorial, is it correct? If yes, then why are we using getDefaultInstance method of ITEM_HANDLER_CAPABILITY which might be null? Sorry for my English.- Item inside of creative... delete slot?
Thank you very much.- Item inside of creative... delete slot?
Can anybody help me?- Item inside of creative... delete slot?
There are two question that I have: "How?" and "How to fix"? Our github: https://github.com/mystery-coder/Souls-Industry By the way, this item can be found in any creative tab, but we haven't attached it to any. P.S.: It has been there since the start from the game and I can't remove it from this slot.- Block registering.
Thank you very much.- Error message
You have to download Forge MDK, not installer. - Working with capabilities correctly.
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.