Jump to content

loordgek

Members
  • Posts

    1910
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by loordgek

  1. it will have its own api
  2. can we see that
  3. you just took the the code from the Furnace delete all of it create a class the extend TileEntity and implements ITickable make a ItemStackHandler field override Has/GetCapbiblty http://mcforge.readthedocs.io/en/latest/datastorage/capabilities/ and make it do stuff and for the recipe delete this https://github.com/Arthgames3/1.12.2-SapphireCraft/blob/master/sapphirecraft/blocks/msinfusortileentity/recipes/MSInfusorRecipes.java example https://github.com/BCA-Team/Buildcraft-Additions/blob/2.2.x/src/main/java/buildcraftAdditions/recipe/duster/DusterRecipe.java https://github.com/BCA-Team/Buildcraft-Additions/blob/2.2.x/src/main/java/buildcraftAdditions/recipe/duster/DusterRecipeManager.java
  4. https://github.com/Quetzi/Morpheus
  5. if the Cracked Launcher is messed up then yes and BUY THE GAME
  6. https://github.com/MinecraftForge/MinecraftForge/commit/3f4dfbb367e8b47a981bcec7e13ed33c8834289c
  7. in the method checkAndCraft you do is client side that will not work the TileEntity already has the world and the pos. and for the recipe take a look at this NOTE this is code form 1.7.10 https://github.com/BCA-Team/Buildcraft-Additions/blob/2.2.x/src/main/java/buildcraftAdditions/recipe/refinery/RefineryRecipe.java https://github.com/BCA-Team/Buildcraft-Additions/blob/2.2.x/src/main/java/buildcraftAdditions/recipe/refinery/RefineryRecipeManager.java
  8. good job you found a thread that is from 2013 go and make your own thread and what MC version are you using
  9. you want this https://github.com/elucent/Albedo and how to use https://github.com/Tamaized/AlbedoTorches
  10. that is is intended, use NonNullList instead of list
  11. you need it to setup the dev environment
  12. https://minecraft.gamepedia.com/1.13
  13. @cadiboo stop telling every body to use 151, 161 works just fine
  14. 1 there is no forge installed 2 @Cadiboo 1 what you are telling has nothing to do with the issue and 2 he is using Java 8u151 click on the link and follow the instructions for your OS
  15. @Override public void readNBT(Capability capability, Object instance, EnumFacing side, NBTBase nbt) { NBTTagList list = (NBTTagList)nbt; for (int i = 0; i < list.tagCount(); i++) { new ItemStack(list.getCompoundTagAt(i)); } } this is what you want
  16. @Nullable @Override public NBTBase writeNBT(Capability<IBlacklist> capability, IBlacklist instance, EnumFacing side) { NBTTagList tagList = new NBTTagList(); int iteration = 0; for (String item : instance.getItems()) { NBTTagCompound tag = new NBTTagCompound(); tag.setString(blacklistPrefix+iteration, item); tagList.appendTag(tag); iteration ++; } return tagList; } @Override public void readNBT(Capability<IBlacklist> capability, IBlacklist instance, EnumFacing side, NBTBase nbt) { if( instance == null ) return; if( nbt != null && nbt instanceof NBTTagList ) { NBTTagList list = (NBTTagList) nbt; int iteration = 0; while( list.iterator().hasNext() ) { instance.addItem( list.get(0).toString() ); iteration ++; } } } what on earth is this, go and learn java first
  17. nope he is on 1.7.10 and WHY remove the tileEntity that could end up badly because the other mod still thinks there is a tile on that block
  18. all of it post it on https://github.com/
  19. you need to shadow org.slf4 into your jar can you post your mod jar here
  20. http://imperceptiblethoughts.com/shadow/
  21. can you put all your code on https://github.com/ so we can have a look
  22. @Differentiation that code block is a bit hard to read
×
×
  • Create New...

Important Information

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