
Everything posted by Cadiboo
-
1.15.1 how do i set the scale of entity?
MatrixStack#scale
-
[1.15.1] How to make mesh blocks/entities models/models?
NoCubes is also open source. https://github.com/Cadiboo/NoCubes However, NoCubes generates customised dynamic models for each block in a world which is probably not what you want to do. To make blocks use non-cubic models you’re going to want to use Forge’s .obj or .b3d model support (Outdated docs). If you need your model to be animated you can use Forge’s Animation API or render everything yourself with a TileEntity Renderer (can have a very large performance impact). If you go with the TileEntity Renderer approach you should load model files instead of writing your model using Minecraft’s Java model system (for resource pack compatibility & performance).
-
[1.15.1] Why does Minecraft crash when I try to spawn my entity?
Yes, spawn eggs are items. Spawn eggs require a reference to an EntityType to work. However, Items get registered before EntityTypes. This is problematic.
-
[1.14] TER render itemstack on top of block
I would look at how ItemEntities are rendered.
-
[1.14.4] Are stencils gone?
What are you trying to do? Due to the rendering changes in 1.15, I'd recommend rewriting your rendering code and re-assessing your approach to whatever you're doing completely.
-
[1.15.1] Why does Minecraft crash when I try to spawn my entity?
Yes, you can use it to register your entity type. I'm not sure if spawn eggs will work though.
-
[1.15.1] How to change players pose when doing certain action?
You might be able to do this by using the RenderPlayerEvent and/or replacing the player's model
-
What does "getSize" in entity mean?
Look at usages of the method to find out.
-
[1.15.1] Mod Resources Incompatible
Post your logs please
-
[1.15] Tickable world capability
Thats what you should do. Implementing ITickable (the interface that makes textures animate) isn't what you want.
-
[1.15.1] How to make a custom entity?
IntelliJ allows you to “search by symbol”. Example here
-
[1.15] Tickable world capability
Show your code please
-
genIntelliJruns in IDEA doesn't generate debug configurations:SOLVED
First of all - Big fan, your MBE repo has helped me tons! Why not go directly to 1.15.2? I’m not sure what you mean by this but use your run configs instead of the gradle tasks for this exact reason. I’ve got a tutorial for setting up your workspace at https://cadiboo.github.io/tutorials/1.14.4/forge/1.1-importing-project/intellij/
-
Make block blast resistand (1.14.4)
Why not... extend the class?
-
[1.15.1] Move while in inventory screen
Can't you just subscribe to the open GUI event and replace the screen with one that overrides Screen#isPauseScreen to return false?
-
Make block blast resistand (1.14.4)
Show DoorLockBlock.
-
[1.15.1] How can I create my own custom "Elytra"?
-
[1.14.4 - IntelliJ] Develop during runtime
You can use DCEVM.
-
(SOLVED) [1.14.4] Get Biome of targeted Block
What if you’re not looking at a block...
-
[1.14.4] Replacing Flint And Steel
Yes. You would need to change it another way. Intercepting the item use events is probably able to achieve what you want.
-
[1.14.4] displayGuiScreen() doesn't seem to work
Client side only commands have always been a forge addition. Since mojang switched to their new command system in 1.13+, Forge hasn’t re-implemented client side commands. I hope this helps.
-
Unusable "config" button in main menu [1.15.1]
I’ve built the GUI and I’m currently enhancing it to allow server admins to change the server config.
-
How can i replace this deprecated method with an up to date one?
Only in the Block class - it means "Call from BlockState, override in Block".
-
[1.15.1] Why does Minecraft crash when I try to spawn my entity?
Any reason you have both ModEntityTypes and FantasyModEntities? I would guess that your EntityType doesn't exist when you try to use it, however, since you haven't set up your repo correctly I can't clone it and debug it locally (Technically I still can but I would have to use my own configuration files (build.gradle, gradle.properties etc.) which you may have customised, so I may not get the same results as you)
-
[1.15.1] Why does Minecraft crash when I try to spawn my entity?
You set up the repository one folder too low. It needs to be in your project folder, the one above your src folder.
IPS spam blocked by CleanTalk.