Jump to content

34486

Members
  • Posts

    21
  • Joined

  • Last visited

34486's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. If you have not, download mods from curseforge, for the game version you are using forge with. Then put the mods in mods folder, one by one, some may require a coremod, so it will "crash" asking you to add a mod, add it, then keep going. Also, Yes, Please update Java, it would probably fix the issues.
  2. Ok, that makes sense now! Thanks!
  3. Hey, I have my smelting recipes, and they work, but how can I have a pulverization/maceration recipe for my ore to be pulverized into two dusts in a macerator or pulverizer? Right now I have IC2 installed, and am unable to find a way to make that recipe, does it go in the same class as my smelting recipes, or is this a json thing? How can I implement this? Thanks!
  4. Ok, I just used this... I was unsure of the itemstacks, Like return Moditems.x wasn't working. public Item getItemDropped(IBlockState state, Random rand, int fortune) { return YourItemClassName.ItemYouWantToDrop; } public int quantityDropped(IBlockState state, int fortune, Random random) { return random.nextInt(2) + 1; // <--- This will drop 1 to 2 items, and the +1 is so its not from 0 to 2. }
  5. Ok, I understand that the arraylist was used in 1.7 and not 1.12.2, I cannot find anything useful, and yes (I hope...) , for example you can take numbers, then print them out in the console, added or not. What exactly do I need to put where? Currently I am trying to find something similar to this in other peoples source, and right now am having no luck.
  6. Ok, In my OreBlocks source I added this public void getDrops(NonNullList<ItemStack> drops, IBlockAccess world, BlockPos pos, IBlockState state, int fortune) { } But what do I put inside the brackets, getDrops(); just gets crossed out with an error and drops.* has nothing useful.
  7. Eclipse suggested I add this into BlockBase class public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune) { // TODO Auto-generated method stub return null; } I put this in the OreBlock class @Override public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune) { ArrayList<ItemStack> stack = super.getDrops(world, x, y, z, metadata, fortune); stack.add(new ItemStack(Items.APPLE, 2)); return stack; } I get NO errors when loading, running or exiting the client. It does not drop an APPLE, Which I am using for simplicity, and to drop 2 of them. Is this what you mean by Override Block#getDrops? I'm really dumb, sorry, trying to learn this for the 4th time, tried in 1.6, failed, 1.7, failed, .1.10, failed, trying 1.12.2
  8. Forge 1.12.2 Hopefully I am asking in the correct place! How can I make my blocks in my mod drop specific items, or a list of items. I have googled this already, and found that nothing is 'working' I get no errors once I fix the things Eclipse Oxygen.2 tells me to do, and the game runs and starts with no error, but does not drop what I want when I break the block.. again with no error! I am sorry that I have not been able to successfully google something that is clear for my stupid mind to comprehend, so I post here for help, I hope. How and where can I implement a custom block drop? I'll post some images of my work space so you can tell me where I need to put what and how. I'll open some classes too, which I feel might need to have something changed.
  9. Alright I will try that too. I was looking how to disable that anyways, thanks! EDIT: Worked! That was something I guessed would be last resort, and well, disabling the UI helped a lot! Thanks! Wonder why it was like that, probably trying to live update the ram/tps information. Hey, Also the VisualVM Program will come in handy someday, Thanks again! #lyfesaverz
  10. I'll try that. I looked in Task Manager, and it said the server "Javac . . . " or something similar to that was taking up the usage, I set it to two cores and then the two cores (1 and 2) were maxed, stopped server, no longer maxed.
  11. I am 101% sure that this is server lagg. As I show in one of the pictures, or two I forget but the client is closed, with the server running, causing the lag spikes. (And terrible TPS I would assume, because it can take about 5 seconds to open an interface)
  12. There is no errors in console accept for the can't keep up one.. And here are your JVM Arguments for the server, which is the only lagy thing on it or not on it. title HHSModded - Console - 1.10.2 E: cd Servers cd HHS10Modded cls java -Xmx6G -Xms6G -jar Forge.jar -o true pause; Thats it. "-Xmx6g -Xms6g" for the ram amount. I tried with -o true and without it, no change.
  13. For the server, Its -Xmx6g -Xms6g along with the client. 6 Gb of ram for the server, but without mods, it still lags, withthe spike too but as I add more it spikes constantly more and the lag intensifies...
  14. Are the mods compatible with 1.10.2 and/or your version of Forge? Do the mods have a conflict with each other? You should provide a download link with the crash log. How to find it: %appdata% in your search menu. Go to .minecraft Then go to "Crash-Reports" Folder, then latest one. Post it here for someone to see if they can find an issue.
×
×
  • Create New...

Important Information

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