-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
[1.11.2][Solved] No TE special renderer for tessellating
Animefan8888 replied to nexusrightsi's topic in Modder Support
When you set the BlockState you will use IBlockAccess#setBlockState(BlockPos, IBlockState). To get the IBlockState you will do Block#getDefaultState() which you will set to something in your constructor, but if you want to use a different value than the default you do Block#getDefaultState().withProperty(IProperty, value). The IProperty must be the same instance you used for setting the Default and the BlockStateContainer, if you do not change the value with a IBlockState.withProperty then it will stay at it's default value. It will decrease if you manually change it in the state, and not change the state though this will only happen on the side you change it on so it is better to do it in the way described above also know as changing the state. I recommend a Forge BlockState JSON for this; read about it here. -
FIXED :Cant Get Living Entity To display gui
Animefan8888 replied to clowcadia's topic in Modder Support
Specifically the hasCapability getCapability the IItemModifiable field, and you will want the readFrom/writeToNBT methods. -
FIXED :Cant Get Living Entity To display gui
Animefan8888 replied to clowcadia's topic in Modder Support
Then what is this? TileEntityBasic -
FIXED :Cant Get Living Entity To display gui
Animefan8888 replied to clowcadia's topic in Modder Support
Please go back and look at your earlier post. -
Post the eclipse version of the log and not the gradle version please.
-
Adding Container and gui to LivingEnity or LivingEntityBase?
Animefan8888 replied to clowcadia's topic in Modder Support
Not a block. Treat your Entity like you would a TileEntity for this. -
Adding Container and gui to LivingEnity or LivingEntityBase?
Animefan8888 replied to clowcadia's topic in Modder Support
What you need to do is the same thing you would for a TileEntity. Create a IItemHandlerModifiable field in your Entity and override hasCapability and getCapability in your Entities class. Read the docs specifically the Using an Existing Capability section. -
[1.11.2][Solved] No TE special renderer for tessellating
Animefan8888 replied to nexusrightsi's topic in Modder Support
Open them in a text editor or download and install a plugin for JSON files from the eclipse marketplace. I recommend the second option cause it gives syntax errors. -
Guis are on the client so if the data doesn't update on the client and you use the data in an if statement then yes.
-
Packets, or Container#detectAndSendChanges
-
EntitiyLiving, EntitiesLivingBase, or other things that extend EntityLivingBase that would be appropriate.
-
Do not extend EntityMob.
-
[SOLVED] [1.11.2] Custom Arrow not rendering
Animefan8888 replied to SparkyFox95's topic in Modder Support
It is a registryName for Entities. -
Are you in Peaceful mode?
-
[SOLVED] [1.11.2] Custom Arrow not rendering
Animefan8888 replied to SparkyFox95's topic in Modder Support
You can't have a null ResourceLocation here https://github.com/SparkyTheFox/Sparkys-Mod-1.11.2-1.3.0-Alpha-SourceCode/blob/master/common/mod/sparkyfox/servermod/init/ModEntities.java#L17 -
Do you have a renderer for it? I do not see one.
-
[SOLVED] [1.11.2] Custom Arrow not rendering
Animefan8888 replied to SparkyFox95's topic in Modder Support
Are you crashing? If so post the most recent crash. -
When does it disappear?
-
Does your ClientProxy extend CommonProxy?
-
[1.11.2][Solved] No TE special renderer for tessellating
Animefan8888 replied to nexusrightsi's topic in Modder Support
You make custom JSON files that act as models. Look at the vanilla Cauldron.json it would be the most similar to your case. -
Do you ever sync the money after changing it?
-
You are going to want to use the ClientTickEvent and in there check if your key is down to apply movement every tick. KeyInputEvent should only be called every so often.
-
Confusing Error while modding enum sided block
Animefan8888 replied to clowcadia's topic in Modder Support
Use the eclipse market place and search JSON. -
Confusing Error while modding enum sided block
Animefan8888 replied to clowcadia's topic in Modder Support
You should get a plugin for your IDE that tells you about these errors.