Everything posted by Animefan8888
-
[1.12.2] Overlay Crashes Server
Read the documentation on EventBusSubscriber again.
-
Integration of Custom Stairs
Pass it in through the constructor. Store the value of the block you need as a local variable in your registry event method. Yes you'll have to do this for each one. No they cant because they need to have the value to create another block. And ObjectHolder values are not populated until after the registry events have fired.
-
Integration of Custom Stairs
You cant do this "static IBlockState modelState = ModBlocks.BRONZE_BLOCK.getDefaultState();" ModBlocks.BRONZE_BLOCK is still null at this point in time.
-
[1.14.4] Making a Trident like item
You also need to specify a CustomClientFactory with Builder#setCustomClientFactory it just needs to return a new Chert_Entity you can use the EntityType, World constructor.
-
[1.14.4] Modifying Vanilla Content
This is an event. Instead use WorldEvent.PotentialSpawns until addSpawn is no longer protected I though I don't think that will happen.
-
[1.14.4] Making a Trident like item
Post your updated code. Preferably as a working github repo.
-
[1.12.2][Server]Fatally missing registry entries
Ok do your configuration files match? Try copying them over,
-
[1.14.4] Making a Trident like item
You still don't do anything here. So of course it isn't. And just recently I became aware of an easier/better way of doing this. Instead of returning your own implementation of IPacket you can just use NetworkHooks.getEntitySpawningPacket
-
[1.14.4] Applying Fortune enchantment to BreakEvent
It's right here.
-
1.14.4 GUI without container or tileentity
You cant access client only code on the server. Use your proxy setup to run this.
-
[1.14.4] Applying Fortune enchantment to BreakEvent
Yes there is. Calls Item#onBlockDestroyed so by calling it from Item#onBlockDestroyed it loops recursively. I am at least 95% sure because this is the same guy whom you and I helped a few days ago. Where you told him to use Item#onBlockDestroyed and I stepped him through ray tracing to get the side of the block the player was looking at.
-
[SOLVED] Mana game mechanic in 1.14.4 help
You need a packet to sync the data you can read up about packets on the forge documentation.
-
[1.14.4][SOLVED] Throwable Entity Render
I literally told you what needs to go there... you need to create an entity and spawn it in the client world.
-
1.12.2 trouble detecting armor
Both of those ways to require your method playerTick to be a static method.
-
1.12.2 trouble detecting armor
Show what you have.
-
1.12.2 trouble detecting armor
Read this.
-
[1.14.4] Applying Fortune enchantment to BreakEvent
That's what he is doing.
-
1.12.2 trouble detecting armor
Did you register an instance of event handler class(Poison Air) to MinecraftForge.EVENT_BUS?
-
Crash While Eating
This is the mod causing the problem. Update to it's most recent 1.14 version. And if that doesn't fix the problem you'll have to remove it.
-
[1.14.4] Displaying vanilla items on ground perspective.
What is this even supposed to do?... What is this? Why are you using this? Flint isn't a Block. Use what ItemRenderer uses.(Take a look at it's class).
-
[1.14.4] Applying Fortune enchantment to BreakEvent
It doesn't help you. It's meant to help you be compatible with other mods. The best way to do what you are trying to do I think would be to cast the player to ServerPlayerEntity then get the PlayerInteractionManager field(interactionManager) and call PlayerInteractionManager#tryHarvestBlock(BlockPos)
-
Minecraft Mod Crash
Please don't necro an old thread. Make your own post if removing Smart Moving doesn't fix your problem.
-
[1.14.4] Modifying Vanilla Content
You're getting closer you do need to use the PlayerEntity. Hint: Every Entity has access to the world it's in. Also there is one more method you need to use from the event.
-
[SOLVED] [1.12.2] NBT writing/reading for List
Yeah it has to do that...how much do you know about programming? Have you stepped through the code execution in the debugger?
-
[1.14.4] Modifying Vanilla Content
Just because something can be represented as a string doesn't mean it should be. Also did you check the return type of RightClickBlock#getUseBlock? It doesn't have anything to do with what block was right clicked. Look at the stuff you do have access to in order to get the block that is being right clicked.
IPS spam blocked by CleanTalk.