Everything posted by Animefan8888
-
Problem with custom furnace
This line is your problem, you are telling the game that whenever there is a BlockState change. Block Change, etc. To delete your TileEntity. You need to compare the two IBlockStates and tell it when the TE should be removed.
-
Custom Registry Events
Yes, just do exactly what forge does. Extend the appropriate Event class and then post the event when you need to.
-
[SOLVED] [1.12.2] Opening a container from the player's inventory, part 2
Try use ICapabilitySerializable instead of ICapabilityProvider and use the Capabilities getStorage() function to deserialize and serialize the IItemHandler.
-
Get Block from String and Vice Versa
Get the registry, GameRegistry.findRegistry, or ForgeRegistries.BLOCKS. And then call .getValue(ResourceLocation)
-
WARNING COREMODS ARE PRESENT?! HELP
Why do you have nei and jei? This isn't a workspace this is a game environment.
-
Notify Player of Error without Closing Game
Letting the game crash.
-
[1.12.2] In recipe book craft empty
Show your code.
-
[1.12.2] Custom player inventory
Technically yes, but they are ultimately stored as a NonNullList<ItemStack> ?
-
[1.7.10] How do I make a Potion? (Not Potion Effect)
You were already told, 1.7.10 is no longer supported on this forum.
-
Configurable per Block Variable
I don't believe it does since Configuration doesn't have support for Maps, but it does for arrays. So if you wanted to you could use one array and parse Strings numbers.
-
Configurable per Block Variable
Use two arrays, one that will hold the registry name of the block and the other that will hold the value.
-
[1.12.2] Custom player inventory
This cannot happen since ItemStacks cant, rather shouldn't be null. My guess is that it is your capability that is null or, you didn't use a NonNullList to store your ItemStacks.
-
[SOLVED] [1.12.2] Opening a container from the player's inventory, part 2
What does this line print out. Also try printing out the contents of the IItemHandler in the/when created(GuiHandler) Gui and Container.
-
[SOLVED] [1.12.2] Opening a container from the player's inventory, part 2
You should not be dealing with any NBT data at all. You should be sending the data directly to the Capability. And from the capability to the TE.
-
[HELP] The specified module could not be found
There is no forge version for 1.13 This even says its for 1.8.9
-
[HELP] The specified module could not be found
Show us your code and the whole error report.
-
[HELP] The specified module could not be found
This is equivalent to telling a doctor "It hurts."
-
Strange lag for 1.12.2
This is a problem on your side, assuming that your friend is also not experiencing this problem. What are your video settings and system specs.
-
[1.12.2] Making a Custom Crafting Table for my mod items [Solved]
Well there is the most basic thing, the Java language. Do you know this one.
-
InvocationTargetException on Windows (no mods)
I've got no idea, maybe @diesieben07 could shine more light on this.
-
Best Way to Give Blocks "Health"
He means a Map<Short, Float/Integer>
-
Best Way to Give Blocks "Health"
NBTTagCompound#getKeySet OR you could use an NBTTagList which may be easier.
-
Best Way to Give Blocks "Health"
Use an NBTTagCompound or an NBTTagList
-
Best Way to Give Blocks "Health"
No No, use the default NBT stuff, you can convert the BlockPos to a string and use that as the key for the health value, either by directly changing the xyz to some string and parsing it, or by converting it to a long via BlockPos#toLong and converting that to a string.
-
InvocationTargetException on Windows (no mods)
Don't use the Windows installer, use the jar one.
IPS spam blocked by CleanTalk.