Everything posted by Animefan8888
-
Recipes for a Custom Workbench
Does it ever enter the for loops? If not do you ever add any recipes to the list, if so where and when?
-
int conversion errors??
Please learn Java. This is ran once and it happens before you set your BurnTime variable in your constructor. You need to set this also in your constructor.
-
can't run minecraft from eclipse
Learn Java. You need to set the registry name of your Items, Blocks, etc.
-
Making A BlockModel Face u When Placed, | in 1.12.2
You said example. I wasn't just going to code it for you. ON isn't a property you want. Now you will want to override getStateForPlacement and return the blockstate with the FACING property set to something based on EntityPlayer#getHorizontalFacing()
-
Making A BlockModel Face u When Placed, | in 1.12.2
new BlockStateContainer(this, FACING, ON); And if you dont know what I mean by override createBlockState then you need to learn Java basics. And it will be overridden in your Blocks class.
-
3x3x3 hit box | how to make Ghost Blocks ??
Make a block and or Property that that breaks all the other blocks when it is broken and make them render as invisible.
-
3x3x3 hit box | how to make Ghost Blocks ??
Dont do this, you will have to split it up the blocks you cant have collision greater than 1, 1.5, 1.
-
Making A BlockModel Face u When Placed, | in 1.12.2
You also need to override createBlockState and pass in all of your properties to the new BlockStateContainer.
-
1.12 Make block face the direction i'm facing
Please no necroposting this thread is over a year old, make your own thread.
-
Help with BlockState model?
Your property is an IUnlistedProperty you need to use an ExtendedBlockStateContainer.
-
Java tutorials?
Stanford has a Java Programming course that they recorded the lectures of and put on YouTube, I dont have the link but it is pretty good. I dont have any books I can recommend. I mostly learned by doing and various google searches and my time here on the forum picking up various tidbits of information.
-
Capability implemented in tile entity but returning null
Could you post your Block class and parent classes.
-
Capability implemented in tile entity but returning null
Is the TileEntity actually being placed down where the block is? Is the TileEntity registered?
-
Capability implemented in tile entity but returning null
This can return null.
-
Capability implemented in tile entity but returning null
The only thing that could be causing a null pointer crash here would be "tileentity" you have to be passing null to the constructor.
-
Capability implemented in tile entity but returning null
Well post updated code, the new error report and which line it is crashing on.
-
Furnace Not Showing GUI
Do you have a custom implementation of IGuiHandler that is registered via NetworkRegistry?
-
Forge Multi-layer on a custom door: Can it be done?
I would look at my previous multilayer model and see what was different as well as explain what means, preferably with the log.
-
Limit frame rate code-side only
Since they happen at a set period of time after each other the game has a deltaTime(partialTicks) variable between each tick that is used for rendering things smoothly. So the game would update the position as to where it should be every tick and then render at that position with the partialTicks. Though your way of doing it works this is just the way minecraft handles these things.
-
Custom TNT Explosion not spawning particles
Code Style #2
-
[1.12.2]Do Tile Entities nearby no longer sync when joining a world?
I'm not sure if TEISRs are given GL access, but the it could be done using a combination of the two. If you use a TESR that doesnt do anything but a single conditional check every frame except for when the Item uses a TEISR it should be a better performing render. The reason I brought up GL access is TESRFast would obviously be the better method instead of just a TESR.
-
Forge Multi-layer on a custom door: Can it be done?
Wouldn't it have just been faster to attempt this than to make a forum post and ask. My answer would be yes, it should work when done correctly.
-
[1.12.2] Controlling Entity Right click
You will have to use the Events for RightClicking. Probably the event that is client side would be the most appropriate the class should be Inputsomething unless the PlayerInteractEvents work for this.
-
[1.12.2]Do Tile Entities nearby no longer sync when joining a world?
.You should instead use a custom IBakedModel and add the quads of the Item to the Blocks model. Override TileEntity#getUpdatePacket/getUpdateTag/onDataPacket/handleUpdateTag
-
1.12.2 Adding Mechanics to an Existing Enchantment
Yes. That should be it.
IPS spam blocked by CleanTalk.