Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

The_SlayerMC

Members
  • Content Count

    202
  • Joined

  • Last visited

Everything posted by The_SlayerMC

  1. Hi, ive almost been successful with this Here But im not sure at all why this doesnt want to spawn properly, and sometimes where the unrendered blocks are it still says the other biome even though the world generator has placed the blocks according to the biome top block Chunk Provider Biome Provider World Provider Ive gone through the vanilla code and i cant seem to find a fix
  2. Not sure why this is happening now when i try to render my slots Also code is updated on git, and when i remove my slots the player inventory still does the same thing
  3. Hi ive been trying for the life of me to get this to work properly but something is really wrong, This block is like a crafting table that detects whats in the slots and replaces them if all conditions are met, however the slots are so glitchy and i dont know why Container Block Tile Entity
  4. Okay im a little lost, i have no clue how this 1.14.4 works, little more info?
  5. okay so where do i get the instances from now?
  6. Okay so how should i go about this? I havent used 1.14.4 yet
  7. Hi i'm trying to register a throwable entity, looking at normal mc code:
  8. Im using (as i always have) Item.getItemFromBlock(BLOCK) for the tab https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/JourneyTabs.java
  9. I know that you have to set the X and Z in a specific boundry to prevent trying to generate into chunks that dont exist yet upon generation but what do people generally use? I was always under the impression of ChunkX/Z * 16 + this.rand.nextInt(16) + 8 being acceptable but it clearly isn't if i'm getting log telling me that its causing problems as well as slow generation because of it Log output [19:48:45] [Server thread/WARN] [FML]: Journey Into the Light loaded a new chunk [-17, -8] in dimension 0 (overworld) while populating chunk [-18, -9]
  10. Next question, i cant use a block as a custom tab icon, items no worries but blocks dont register as a tab icon but show up fine in the tab?
  11. Dont ask me how, but i just removed the item and block repetitive registry and now the lang file is working. And also to answer I didnt register the blocks and items, that part wasnt my code it was the other dev so couldnt even begin to tell you why haha
  12. Well what would be the cause of something like that
  13. https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/resources/pack.mcmeta still hasnt fixed the problem
  14. Is there any reason that a mod wont read a lang file? path is correct and file is formatted properly https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/resources/assets/journey/lang/en_us.lang it comes up ingame like a lang file doesn't exist and no items or anything are named which doesnt make any sense at all, so i dare say it will be something so simple to fix because it shouldnt be this hard. I just cant figure it out
  15. yes i do but thats just normal generation too like this: public boolean locationIsValidSpawn(World w, int x, int y, int z) { for(int i = 0; i < 11; i++) { for(int l = 0; l < 11; l++) { if(w.getBlockState(new BlockPos(x + i, y, z + l)) != JourneyBlocks.eucaGrass) { return false; } } } return true; } @Override public boolean generate(World w, Random r, BlockPos pos) { int x = pos.getX(), y = pos.getY() - 1, z = pos.getZ(); if(locationIsValidSp
  16. Hi the log keeps out putting this [09:24:31] [Server thread/WARN] [FML]: Journey Into the Light loaded a new chunk [21, 16] in dimension 20 (Euca) while populating chunk [21, 15], causing cascading worldgen lag. [09:24:31] [Server thread/WARN] [FML]: Please report this to the mod's issue tracker. This log can be disabled in the Forge config. And also, why wont mobs spawn in my custom dimensions? It makes no sense, its the same code as its always been until the update EntityRegistry.addSpawn(EntityEucaCharger.class, 20, 1, 1, EnumCreatureT
  17. How do you go about adding more then one value to each player? Mana value is the main one then you got regen value see below, how it adds one value only, how would i go about adding a regen value without a new storage? public class EssenceStorage implements IStorage<IEssence> { @Override public NBTBase writeNBT(Capability<IEssence> capability, IEssence instance, EnumFacing side) { return new NBTTagInt(instance.getEssenceValue()); } @Override public void readNBT(Capability<IEssence> capability, IEssence instan
  18. for the mana bar im just going off the tutorial as im not used to capabilitys https://github.com/mchorse/capabilities/tree/master/src/main/java/mchorse/capabilities and my new push https://github.com/TheSlayerMC/Journey-1.12/commit/cf2f00835b6d3ad08c03d18a419ec58c75a0180c
  19. https://github.com/TheSlayerMC/Journey-1.12/commit/255601e7b08e0db7c0847a161b3ba794aa5adda5 just incase its easier to read
  20. So my mod has a mana type of use called "Essence" Whats happening is its nulling out when getting the value somewhere and i cant for the life of me figure it out I know where it nulls out and i dont see why when its just trying the get the value of the mana bar [22:35:48] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Player665 joined the game [22:35:48] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.TickEvent$PlayerTickEvent@2eed9875: java.lang.NullPointerException: null at net.journe
  21. thats gonna cut deep, theres so much to it
  22. Why does this happen and some items are fine? https://imgur.com/a/pFeeOYR
  23. but i cant really clean very well if everythings broken
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.