Everything posted by Animefan8888
-
[1.14.2] Is there a way to make a "Rotating" model per say?
No this is not possible in vanilla minecraft. You would need to make a mod to make this possible, or you can make it look animated with a texture.
-
[1.12.2]Creating Items/Blocks upon creating a world
I really hope you aren't changing the registry names for those items... You have to create the Item and Block instances in the registry event. And only in the registry event. You need to save the information and store them in the World therefore you need to use a Capability Then you'll have to pass that data onto the items.
-
[1.14.4] Block not registering
You need to specify the bus parameter in your annotation. Specifically Bus.MOD
-
(SOLVED)How to go about created Directional Block? (like observer)
Does your blockstate.json file have the facing property in it?
-
[1.14.4] recipes not showing in game
Post your console output. There is probably an error somewhere.
-
drawing player screen overlay 1.12.2
No you still use that. It is an event. Its just you can remove "extends Gui" and replace "drawTexturedModelRect" with "Gui. drawModalRectWithCustomSizedTexture" or "Gui. drawScaledCustomSizeModalRect"
-
drawing player screen overlay 1.12.2
Use Gui,drawModalRectWithCustomSizedTexture or Gui.drawScaledCustomSizeModalRect
-
[1.14.4] recipes not showing in game
None whats so ever for simple crafting table recipes, or any of the furnace recipes. Show a screenshot of your package explorer in your IDE.
-
drawing player screen overlay 1.12.2
If you want to use drawTexturedModelRect the way you are then yes it does.
-
[1.14.4] recipes not showing in game
1.13 and up moved this to data/modid/recipes.
-
drawing player screen overlay 1.12.2
You cant render anything in that event. You need to use the RenderGameOverlayEvent.
-
Cannot run Minecraft 1.14.4 from Eclipse
You can watch mine link in my signature there aren't that many of them. It only goes up to basic Item creation right now.
-
Tile Entites/Enum Facing/harvestBlock
No there are no good tutorials. Eclipse is great.
-
(SOLVED) [1.14.4] Need help with Capabilities
Probably because you are saving your ITickDats to the disk and using PlayerEntity#ticksExisted. Which is set to 0 when the player loads, but your ITickData is still what it was before you closed the game last.
-
(SOLVED) Rendering Overlay crash when adding a block?
This tells you what is wrong.
-
Trying to dump nbt data on all vanilla entities.
What?
-
(1.14.4) OnEnchantEvent
I dont believe so. Open the Type Hierarchy for the Event class.
-
(SOLVED) [1.14.4] Need help with Capabilities
This isn't a NullPointerException. The capability is never attached to the player. The AttachCapabilityEvent is not fired on the MOD event bus its fired on the FORGE event bus.
-
(SOLVED) [1.14.4] Need help with Capabilities
I can only assume you'll figure it out on your own since you haven't posted the crash.
-
Help Creating a Custom Machine [1.12.2]
This is pretty simple. Don't implement IInventory on your TileEntity. Instead store an instance of IItemHandler in your TileEntity. You can initialize it using ItemStackHandler. The next step is to override getCapability and hasCapability. In your case hasCapability can just compare the Capability parameter against CapabilityItemHandler.ITEM_HANDLER_CAPABILITY(just using ==). And in a case where it isn't that one return the super. Then in getCapability do the same thing except you need to return your IItemHandler instance. I believe what you had to do here was use Capability#cast(value). The worst thing I've seen a tutorial do wrong for something like this was have the Block class implement ITileEntityProvider. I haven't seen anything wrong with the way they set up the Gui and Container. This part is just the logic behind what you want to do. Simply figure out the conditions for when you want it to consume fuel. And when those conditions are true consume fuel. The same can be said for the processing part. Figure out when you want the furnace to process, then once it is done consume the ingredients and give the output.
-
[SOLVED][1.14.4] AttachCapabilitiesEvent<TileEntity> event doesn't seem to fire
AttachCapabilityEvent doesn't fire on the Mod Event Bus. It fires on the Forge Event Bus.
-
Client Proxy - Crash on Mod Load [1.12.2]
No it doesnt. Does not equal
-
[1.14.4][Solved] TileEntityRenderer render a texture
Minecraft.getInstance().getTextureManager().bindTexture(...) Will bind a texture to be used.
-
[1.12.2] Player death not cancelled
This only heals the Entity if the entities health is greater than 0. Use setHealth
-
[1.12.2] Player death not cancelled
That part.
IPS spam blocked by CleanTalk.