Everything posted by loordgek
-
[1.10.2]TileEntity not Working properly (page 2)
@Override public NBTTagCompound writeToNBT(NBTTagCompound compound) { compound.setTag("items", (your itemhander that is instanceof INBTSerializable).serializeNBT()); return compound; } @Override public void readFromNBT(NBTTagCompound compound) { (your itemhander that is instanceof INBTSerializable).deserializeNBT(compound.getCompoundTag("items")); } ItemStackHandler is instanceof INBTSerializable
-
[1.10.2] GUI changes not saving
http://www.minecraftforge.net/forum/index.php?topic=43754.0
-
[1.8]Preventing Player from sending a chat message
ServerChatEvent ??
-
[1.10.2]TileEntity not Working properly (page 2)
here plz first get a list for all the ItemStacks in the inventory then spawn the stacks using worldObj.spawnEntityInWorld(new EntityItem(World worldIn, double x, double y, double z, ItemStack stack))
-
[1.10.2]TileEntity not Working properly (page 2)
private static ItemStackHandler itemHandler = new ItemStackHandler(81); explain to me what static means
-
Forge 1.10.2 crash when loading mods with CoFH core
mods form team cofh are only for 1.7.10
-
forge 1.11-13.19.0.2154 Hoppers problem
this https://github.com/MinecraftForge/MinecraftForge/pull/3442 ??
-
Registering entity with new resource location (solved). [1.11]
but that object was/is null private static ResourceLocation rsrcl;
-
Registering entity with new resource location (solved). [1.11]
try to fix it. use google edit and post logs
-
Registering entity with new resource location (solved). [1.11]
got your other mod working https://github.com/loordgek/gurujive
-
Can't register more than one entity? [1.11]
gurujive can you zip the code and post it here so i can poke at it plz
-
[1.11] recompileMc fails when using snapshot_20161118 mappings
https://github.com/MinecraftForge/MinecraftForge/pull/3413/files
-
[1.11] ItemStack.loadItemStackFromNBT
there is a constructor now public ItemStack(NBTTagCompound p_i47263_1_)
-
[SOLVED] [1.10.2] Problem with saving items in my pan
splitStack
-
Is There A Reason stackSize Is Not Visible In The Class Item.ItemStack? (1.11)
you nee to use public void func_190917_f(int p_190917_1_) { this.func_190920_e(this.stackSize + p_190917_1_); } public void func_190918_g(int p_190918_1_) { this.func_190917_f(-p_190918_1_); }
-
MC 1.11 Release is out so when forge 1.11 will be :D?
https://github.com/MinecraftForge/MinecraftForge/tree/noci-1.11.x
-
BlightFall Server Refuses To Work.
that is not how you give a crash log use https://gist.github.com 1.7.10 is no longer supported
-
[SOLVED] How to specify absolute path in mod_list.json?
https://github.com/MinecraftForge/FML/wiki/New-JSON-Modlist-format
-
Item despawn chest
why are you still on 1.7.10 ?? edit this is the code you need but you need to be on 1.10.2 @SubscribeEvent public void itemDespawnEvent(ItemExpireEvent event){ BlockPos pos = new BlockPos(event.getEntity().posX ,event.getEntity().posY, event.getEntity().posZ); event.getEntity().worldObj.setBlockState(pos,Blocks.CHEST.getDefaultState()); TileEntity tile = event.getEntity().worldObj.getTileEntity(pos); IItemHandler handler = tile.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY, EnumFacing.UP); handler.insertItem(0, event.getEntityItem().getEntityItem(), false); }
-
1.8 get player mob kills
forgot to link this http://mcforge.readthedocs.io/en/latest/datastorage/capabilities/ hope this helps
-
1.8 get player mob kills
that is not a forge Capability this is a forge Capability https://github.com/MinecraftForge/MinecraftForge/blob/17db34ae31f281221b661b72b6831880ce31116b/src/test/java/net/minecraftforge/test/TestCapabilityMod.java and update to 1.10.2
-
unknown crash
you have both JEI and NotEnoughItems installed remove NotEnoughItems ,CodeChickenLib and CodeChickenCore EnderCorePlugin is needed by enderio
-
[1.10.2][SOLVED] Help with rendering entities
and it is looking in "src/main/resources/assets/modid/textures/models" not "src/main/resources/assets/minesat/textures/models"
-
[1.10.2][SOLVED] Help with rendering entities
what is your path to test.png ??
-
Modded Server Crash.
problem w/ forestry
IPS spam blocked by CleanTalk.