-
Posts
3624 -
Joined
-
Last visited
-
Days Won
58
Everything posted by Cadiboo
-
Yep, those recipes are built-in net.minecraft.item.crafting.CraftingManager.class public class CraftingManager { private static final Logger LOGGER = LogManager.getLogger(); private static int nextAvailableId; public static final RegistryNamespaced<ResourceLocation, IRecipe> REGISTRY = net.minecraftforge.registries.GameData.getWrapper(IRecipe.class); public static boolean init() { try { register("armordye", new RecipesArmorDyes()); register("bookcloning", new RecipeBookCloning()); register("mapcloning", new RecipesMapCloning()); register("mapextending", new RecipesMapExtending()); register("fireworks", new RecipeFireworks()); register("repairitem", new RecipeRepairItem()); register("tippedarrow", new RecipeTippedArrow()); register("bannerduplicate", new RecipesBanners.RecipeDuplicatePattern()); register("banneraddpattern", new RecipesBanners.RecipeAddPattern()); register("shielddecoration", new ShieldRecipes.Decoration()); register("shulkerboxcoloring", new ShulkerBoxRecipes.ShulkerBoxColoring()); return parseJsonRecipes(); } catch (Throwable var1) { return false; } }
-
Would anyone help on a crash with block state storage?
Cadiboo replied to Ice2670's topic in Modder Support
Do you have a GitHub I can look at? -
Would anyone help on a crash with block state storage?
Cadiboo replied to Ice2670's topic in Modder Support
Forge's IEnergyStorage only allows integers. If its a double then they're using a different system from the one that I use and know about, and you should google some tutorials for it. -
Would anyone help on a crash with block state storage?
Cadiboo replied to Ice2670's topic in Modder Support
Energy will always be an integer, not a double. -
ALSO Where did you download forge from (URL preferably) What version of forge (latest/recommended/actual version name) Where did you download your mods from. If it wasn't from curseforge.com they are likely filled with malware
-
thanks that was pretty helpful, can you post the output log of the installer? it should be in the same folder as the installer is in (probably your downloads folder)
-
disable all your mods then post the log by post I mean COPY & PASTE THE CONTENTS into a spoiler
-
We need to SEE it to find out your problem, post the contents of the file in a spoiler (click the eye icon when making the post)
-
Would anyone help on a crash with block state storage?
Cadiboo replied to Ice2670's topic in Modder Support
potentially, I made a small effort to add support for non FE systems that use IEnergyStorage a while ago but never tested it. If the code that edited works it shouldn't be an issue if IC2 is using capabilities and implementing Forge's IEnergyStorage -
Would anyone help on a crash with block state storage?
Cadiboo replied to Ice2670's topic in Modder Support
I'm syncronising all my Capability Data > I'm getting the capabilities through the custom methods getInventory(), getEnergy() and getFluid() (or whatever the fluid capability getter is called, I've never used it) then writing the capabilities to NBT and sending that NBT to the client. -
Would anyone help on a crash with block state storage?
Cadiboo replied to Ice2670's topic in Modder Support
I should have posted this post in this thread. -
[1.12.1]TileEntity how do I sync data between server and client
Cadiboo replied to GiantNuker's topic in Modder Support
^^^ Very good advice, please never comment on existing threads with a new issue. @Ice2670 Since you haven't made a new thread yet, and this is a common issue, I'll show how I do it. This is my personal preference, and it works well for me, feel free to adapt it. My personal preference is to have a superclass that handles all my syncing & capability stuff and have all my TileEntities extend it. My class is called TileEntityBase and you can view it here. It is adapted from canitzp's mod MetalWorks. The actual Syncing packets are registered here, and the class is here. To get my energy capability I simply Override getEnergy() in my superclass. You can see an examples of how I use TileEntityBase here, here and here. -
Or just make them smaller
-
Sorry didn’t see
-
Wrong thread mate?
-
Should i use forge reccomended or latest
Cadiboo replied to Gamerocker77's topic in General Discussion
Latest = Testing new features, everything is probably not broken recommended = Stable release everything should work perfectly -
Minecraft Hosting service to run Crazy Craft?
Cadiboo replied to Tropiccc's topic in Minecraft General
Running it yourself is super easy. And there are hundreds, probably thousands of tutorials on how to do it -
I’m happy to try and help with this, but it seems like a very big endeavour and possible waste of time because it already exists.
-
One of the main reasons it’s not supported on these forums is to discourage people from using it. It’s really really old and I can’t think of any good reasons to keep using it. If u want a mod from 1.7 port it to the most recent version. You’ll learn modding along the way!
-
You’d probably want to use a core mod to modify Minecraft’s world generator to only generate dirt
-
Which is?
-
You can use block models, look at the AssemblyTable in my mod. It takes up an area of 3x2x3 and renders multiple models inside that area. The larger bounding box is achieved with multiple blocks. https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/block/BlockAssemblyTable.java https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/client/render/tileentity/TESRAssemblyTable.java
-
Hard to see from your code but I believe this is z-fighting, it’s pretty easy to fix. Just remove overlapping parts
-
Having some problems with doors [1.12.2]
Cadiboo replied to ThunderStrikeBlue's topic in Modder Support
Can’t see anything wrong with your code but I’ve never done anything with doors. Try doing some debugging, adding print statements to see what gets called also a GitHub would be appreciated -
[1.12] Forge Blockstate Item Block Model error
Cadiboo replied to shane020482's topic in Modder Support
... your still going to need the same amount of block state models have a look at BlockResourceBlock in my mod https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/block/BlockResourceBlock.java and how I have multiple variants with only one class https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/init/Blocks.java