Jump to content

DiamondMiner88

Members
  • Posts

    186
  • Joined

  • Last visited

Everything posted by DiamondMiner88

  1. This is probably a stupid question but, how do i register Fluids and FluidMaterials? As what i have done now is register the fluid with EventSubscriber Fluid class I don't get how to make an fluid block because i use @ObjectHolder How do i register Materials? Any material? What event? Github Repository
  2. Sorry for resurrecting an old post but if you turn on dark mode, This is how that sentence looks:
  3. If i have several ingredients in a constant, any of them can be used for the crafting item, right? EDIT: Nvm used constants for result item, changed to actual items.
  4. Are constants and the OreDictionary not the same?
  5. Do you know if constants are still in 1.13? If not, i would rather make recipes for each one.
  6. Didnt see your reply. Ill use that when i wake up tomarrow.
  7. What i want to do is register my three Items (Glass Cutters) to a single string value in the OreDictionary or whatever its called so that i don't have to make recipes. I can divide that number by 3 by using the OreDictionary. But i am working on a script right now if the OreDictionary doesn't work out. (Also for the blockstates and item models too lol)
  8. How? And is there a way to do it like i tried to do? I looked at tutorials and they showed it like i did.
  9. Add Draconic Evolution as a dependency to your mod, then when spawning the mob (Im assuming) spawn it with DE's armor using modid:item
  10. Problem is i want to shorten the amount of recipes i have to make. Im making a rainbow character mod, 26 letters, 17 colors, 3 tools. 26*17*3=1326. I am NOT making 1K recipes. 442 is enough
  11. As the title says, i have no idea how to use it. I try this: { "type": "forge:ore_shapeless", "ingredients": [ { "item": "character_mod:mold_a" }, { "item": "minecraft:stained_glass", "data": 15 }, { "type": "forge:ore_dict", "ore": "cm_cutterGlass" } ], "result": { "item": "character_mod:a_glass_black" } } and OreDictionary: OreDictionary.registerOre("cm_cutterGlass", new ItemStack(ModItems.CUTTER_GLASS_DIAMOND, 1, OreDictionary.WILDCARD_VALUE)); OreDictionary.registerOre("cm_cutterGlass", new ItemStack(ModItems.CUTTER_GLASS_GOLD, 1, OreDictionary.WILDCARD_VALUE)); OreDictionary.registerOre("cm_cutterGlass", new ItemStack(ModItems.CUTTER_GLASS_IRON, 1, OreDictionary.WILDCARD_VALUE)); And Yet, i can use my Glass cutter once before it stops working
  12. Thank you! I accidentally forgot to make them final. As for the .gitignore, i re-added it.
  13. I get an error whenever i try to modelRegister a certain item. Can't figure out what the Problem is. If i don't call registerItemModel(CUTTER_GLASS_DIAMOND); registerItemModel(CUTTER_GLASS_GOLD); registerItemModel(CUTTER_GLASS_IRON); The item is still in the game, you can hold it in the inventory, The name in the lang file works, but in recipes it doesen't, whenever i try to register it for the OreDictionary i get an error that it stopped trying to registering it. What? ItemClass is called ItemGlassCutter Error: GITHUB
  14. This is a guess but since the pixelmod is not a small mod, because you only have 3.8 Gigs of RAM minecraft had to skip some of its library? Is that the full log because i don't think it cuts off like that, there's usually some kind "done" info line. Can i also see your latest file?
  15. Ok that worked but why does no one reply to this?
  16. I currently use windows firewall but used to use comodo. Comodo always blocked any jar file so that might be the same case for you. Try to allow the jar through the firewall.
  17. Increase your java memory limit in the launcher that you use. Official MC launcher: Turn on advanced settings and java arguments, change -Xmx2048M or whatever number it is to the amount of memory you want to allocate to run minecraft. M stands for Megabytes G for Gigabytes For me anything 4Gig always works perfectly unless i have a mod-pack, in that case i use 7Gig Dependent on the amount of RAM you have installed.
  18. Will this work? for (String color : Reference.colors) { event.getRegistry().registerAll( setup(new ConcreteA(), "a_concrete_" + color), setup(new ConcreteB(), "b_concrete_" + color), setup(new ConcreteC(), "c_concrete_" + color), setup(new ConcreteD(), "d_concrete_" + color), setup(new ConcreteE(), "e_concrete_" + color), setup(new ConcreteF(), "f_concrete_" + color), setup(new ConcreteG(), "g_concrete_" + color), setup(new ConcreteH(), "h_concrete_" + color), setup(new ConcreteI(), "i_concrete_" + color), setup(new ConcreteJ(), "j_concrete_" + color), setup(new ConcreteK(), "k_concrete_" + color), setup(new ConcreteL(), "l_concrete_" + color), setup(new ConcreteM(), "m_concrete_" + color), setup(new ConcreteN(), "n_concrete_" + color), setup(new ConcreteO(), "o_concrete_" + color), setup(new ConcreteP(), "p_concrete_" + color), setup(new ConcreteQ(), "q_concrete_" + color), setup(new ConcreteR(), "r_concrete_" + color), setup(new ConcreteS(), "s_concrete_" + color), setup(new ConcreteT(), "t_concrete_" + color), setup(new ConcreteU(), "u_concrete_" + color), setup(new ConcreteV(), "v_concrete_" + color), setup(new ConcreteW(), "w_concrete_" + color), setup(new ConcreteX(), "x_concrete_" + color), setup(new ConcreteY(), "y_concrete_" + color), setup(new ConcreteZ(), "z_concrete_" + color) ); Reference.color: public static final String[] colors = new String[] { "black", "blue", "brown", "cyan", "gray", "green", "light_blue", "lime", "magenta", "orange", "pink", "purple", "red", "silver", "white", "yellow" }; Also what about my GlassCutter s? i cant call registerItemModel with it without my game crashing due to a null error
  19. delete [your account] or delete this post?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.