-
Posts
3624 -
Joined
-
Last visited
-
Days Won
58
Everything posted by Cadiboo
-
Post the log, make sure you've got the port right (you can't leave it blank unless you also port-forwarded port 80 or 8080 to port 25565), try connecting to localhost:25565 (if your hosting the server on the same machine as your playing on). If you can access it from here that means you messed up port forwarding or somewhere something is getting blocked (ISP blocking, Router Firewall blocking etc)
-
Thats the error thats might not be what caused it but it looks like a good place to start looking for the cause I seem to remember Brandon's Mods causing a crash for someone before, you might want to try disabling it.
-
[SOLVED] Playing sounds causes ConcurrentModificationException
Cadiboo replied to leduyquang753's topic in Modder Support
pretty much, you should be able to just surround your code with an world.isRemote check -
1.12 lang file entries for multi state blocks
Cadiboo replied to blinky000's topic in Modder Support
In 1.13 I believe that custom ItemBlocks & Metadata are going to be phased out, and your STYLES property should be moved to multiple blocks rather than just the one. Multiple Blocks does not mean Multiple Classes - you can Reinstanitate your original class (with a few modifications) and take your type as a parameter in the constructor -
Changing ModelLoader.setCustomModelResourceLocation(item1, 0, new ModelResourceLocation(new ResourceLocation("examplemod:fav"),"inventory")); to ModelLoader.setCustomModelResourceLocation(item1, 0 ,new ModelResourceLocation( item1.getRegistryName(), "inventory")); might help but we need more info. Please 1) create your own mod, rather than editing the ExampleMod provided with forge 2) use SubscribeEvents 3) post the full log 4) use GitHub 5) use GitHub you can also try changing fav.json from { "parent": "minecraft/generated", "textures": { "layer0": "examplemod:items/fav" } } to { "parent": "item/generated", "textures": { "layer0": "examplemod:items/fav" } }
-
How can I spawn in entities with a 2D model like this mod?
Cadiboo replied to NickBurnett's topic in Modder Support
If your looking at how to render a 2d model look at the vanilla Render Snowball class. A couple modifications to it (making the image load from a file rather than the TextureMap etc.) and it should work perfectly -
Error when launching forge server (1.12.2)
Cadiboo replied to AdamThePig's topic in Support & Bug Reports
@diesieben07 Would I be wrong to tell him to downgrade java to java 8? -
Error when launching forge server (1.12.2)
Cadiboo replied to AdamThePig's topic in Support & Bug Reports
Didn't know that, sorry for the salt -
Error when launching forge server (1.12.2)
Cadiboo replied to AdamThePig's topic in Support & Bug Reports
you are unable to rename files in your file system? forge-universal.jar was the file I was (trying to be) talking about -
Error when launching forge server (1.12.2)
Cadiboo replied to AdamThePig's topic in Support & Bug Reports
this will attempt to launch a file called minecraft_server.jar, you are able to rename files and honestly you should not have both vanilla server & forge server in the same folder because they will attempt to access the same files, resulting in broken worlds etc. -
Error when launching forge server (1.12.2)
Cadiboo replied to AdamThePig's topic in Support & Bug Reports
are you sure that your .jar file is called "minecraft_server.jar"? What Java are you using? -
Error when launching forge server (1.12.2)
Cadiboo replied to AdamThePig's topic in Support & Bug Reports
I believe you have to create a start.command file with "java -Xmx1024M -Xms1024M -jar minecraft_server.jar" in it Or you can also paste this into terminal. java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui minecraft_server.jar refers to the location of your server.jar file - you'll probably have to change this if your using terminal you can type in java -Xmx1024M -Xms1024M -jar and then drag your server file into the terminal window https://minecraft.gamepedia.com/Tutorials/Setting_up_a_Minecraft_Forge_server You could also have incorrect java (minecraft & minecraft server require java) -
Minecraft 1.10.2 Modded Server Not Allowing Modded Blocks
Cadiboo replied to SQLMNC's topic in Support & Bug Reports
try deleting your config for the moment and post your FML log also the version of your mods is important so please post that too -
Add this to your class that has @Mod.EventBusSubscriber @SubscribeEvent public static void onHarvest(BlockEvent.HarvestDropsEvent event) { if (event.getHarvester() != null) { List<ItemStack> drops = event.getDrops(); if(drops!=null && drops.size()>0) { BlockPos pos = event.getPos(); IBlockState blockstate = event.getWorld().getBlockState(pos); Block block = blockstate.getBlock(); if(block instanceof BlockGrass) { drops.add(new ItemStack(Item.REGISTRY.getObject(new ResourceLocation("minecraft", "wheat_seeds")))); } } } }
-
[Solved][1.10.2]Question about Gui.drawScaledCustomSizeModalRect
Cadiboo replied to bxzsj's topic in Modder Support
Z level sets what the texture is rendered above, for example items are rendered at zLevel 250 and Tooltips are rendered at zLevel 300 -
[Solved][1.10.2]Question about Gui.drawScaledCustomSizeModalRect
Cadiboo replied to bxzsj's topic in Modder Support
I think that you can only scale an entire texture (set with this.mc.getTextureManager().bindTexture()), not a part of a texture -
[Solved][1.10.2]Question about Gui.drawScaledCustomSizeModalRect
Cadiboo replied to bxzsj's topic in Modder Support
I think that both drawScaledCustomSizeModalRect and drawModalRectWithCustomSizedTexture take an entire texture and scale it -
[Solved][1.10.2]Question about Gui.drawScaledCustomSizeModalRect
Cadiboo replied to bxzsj's topic in Modder Support
so just modify it to fit your needs -
[Solved][1.10.2]Question about Gui.drawScaledCustomSizeModalRect
Cadiboo replied to bxzsj's topic in Modder Support
did this inside my drawGuiContainerBackgroundLayer() drawModalRectWithCustomSizedTexture(20, 20, 0, 0, width, height, 10, 10); -
[Solved][1.10.2]Question about Gui.drawScaledCustomSizeModalRect
Cadiboo replied to bxzsj's topic in Modder Support
I think that its used to draw text -
Rendering a line between Player and Projectile (1.10.2)
Cadiboo replied to TypicalNerdB's topic in Modder Support
mc.thePlayer.getPos() returns the position of the bottom of your feet. translate it up on the Y axis by something like 1.6 to make it start around your eye/camera's height -
Rendering a line between Player and Projectile (1.10.2)
Cadiboo replied to TypicalNerdB's topic in Modder Support
in that render class just do your OpenGL commands that draw a line between the entity and it's thrower -
Rendering a line between Player and Projectile (1.10.2)
Cadiboo replied to TypicalNerdB's topic in Modder Support
set up a renderer for it and in that renderer connect it to it's thrower Ill have to check this but I think that throwers aren't properly synced between server & client for some reason -
Rendering a line between Player and Projectile (1.10.2)
Cadiboo replied to TypicalNerdB's topic in Modder Support
do you have an entity set up for your EntityLassoWhip that can be thrown/shot? if so, have you set up a renderer for it? -
Rendering a line between Player and Projectile (1.10.2)
Cadiboo replied to TypicalNerdB's topic in Modder Support
Do you want this code to run if you have the armor on OR run if you have the armor on AND have thrown a lassoWhip