Everything posted by Animefan8888
-
[1.8.9] Modify the playerlist for the client.
Are you wanting to change the whole name or just add prefixes/suffixes?
-
[1.11] Capability Synchronization.
Where do you send the packet?
-
[1.10] Changing recipes when connecting to server
I beleive you cannot remove from the Villager registry, but i may be mistaken.
-
Learning Advancements
You should make your own thread with all the relevant code, because it is rather difficult to guess what is wrong, because there are many possibilities. The missing mapping error is because you have not call GameRegistry.registerTileEntity(...).
-
[1.10] Changing recipes when connecting to server
I have not tried this but I think GameRegistry.addSmelting and GameRegistry.addCrafting work after postInit so when the player connects have the server send the Crafting and smelting data over and compare it on the client then modify the clients.
-
{Solved!!!} [1.10.2] Block Textures Not Loading
Too answer your question in the PS yes you do.
-
[1.10] Outside eclipse, server crashes or disconnects when using one of 3 blocks
Post updated crash/log
-
1.11 Stuttery Flight
Unless you specifically have to use a HashMap ie you need some way to save the Enchantment yourself to something there is no need to use one. And post your updated code.
-
1.11 Stuttery Flight
Not quite this checks if the world is server side. A couple of things. You should be using EnchantmentHelper.getEnchantmentLevel(...) and not EnchantmentHelper.getMaxEnchantmentLevel(...) Next if you haven't already if(!world.isRemote) { //allow flying code here } Instead of getting your Enchantment from the registry you should have a static field for your enchantment you should be using instead. Also in survival mode you should still take fall damage even if allowFlying is true. This is why the PlayerFlyableFallEvent exists.
-
[1.10.2] Subcommand only works first time
Instead of adding ForgeGuard.SELECTOR to the inventory add ForgeGuard.SELECTOR.copy() to the inventory. I ran into this problem once. I was using the FurnaceRecipes and just straight up set the slot to the FurnaceRecipes, but then whenever I increased the stackSize I would get more for every process, and once taken out of the furnace I would get a stack of the item, but with a stackSize of zero. That was one of the best debugging moments of my life...
-
(Solved)1.11 Item not rendering texture
Go into your file explorer and see if that path exists (note: testmod: is equivilent to assets/testmod/). And it is case sensitive.
-
[SOLVED][1.10.2] Rendering Block's Animated Texture
I have a recommendation not sure if it is what you are looking for or not, but here goes. Instead of switching between textures, you could use them both, but apply the layers with transparency and have your own "counter" that determines when it changes like every time it renders decrease the transparency of the current overlay?
-
json not working 1.10.2
It still doesn't work if I make everything lowercase. So here is the json: { "parent": "item/generated", "texture": { "layer0": "ss:items/endertanium_ingot" } } Does this include your code, ie when you register the model for the item using ModelLoader.setCustomModelResourceLocation(...) are you also using lowercase there?
-
Creating more Minecraft hooks
You would need to put in a PR to the forge github, but even then it is not guaranteed to be implemented.
-
[1.10.2] how to save world data
Yes it is possible with 3D rectangles. You have one on the top and one one the bottom, in the opposite corners. 3x3 example in Java(shouldn't be too different for scala) new BlockPos(-1, -1, -1); new BlockPos(1, 1, 1); This will give me the corners of a 3d rectangle at the x, y, z positions of -1, -1, -1 to 1, 1, 1 which will include zero if you iterate properly. Now on to your WorldSavedData problem. You need to tell the game to save your data. IE you should be using the WorldEvent.Load and WorldEvent.Save. Call your read and write methods from there.
-
[1.11] Detecting TEs that are not horizontal / vertical from the orginal
- can someone help me make a render layer for a villager hood
This is pretty simple honestly you could learn everything you need from looking at the vanilla classes. A render layer is basically just a object that stores "multiple" models inside of it for an entity.- [1.10.2] how to save world data
There are World capabilities, I assume you would use them, plus a better way assuming that your areas are cubes. You should just save two BlockPos's for each area. One in one corner and one in the complete opposite corner.- [1.11] Detecting TEs that are not horizontal / vertical from the orginal
This should give you 3x3 area around pos. Iterable<BlockPos> positions = BlockPos.getAllInBox(pos.down().north().east(), pos.up().south().west());- json not working 1.10.2
Now ive spelled it correctly, but its still not working Console log.- [1.11] Detecting TEs that are not horizontal / vertical from the orginal
I think you will need to switch over to using an int for loop ie for (int x = -1; x < 1; x++) { for (int y = -1; y < 1; y++) { for (int z = -1; z < 1; z++) { } } }- 1 slot inventory crashing in 1.11
It wants either your modid, or your mods @Instance field for modObject. It wants a mod specific ID for your GUI/Container. Then it wants either the block coords or the player coords or the entity coords where this is opening from.- 1 slot inventory crashing in 1.11
You should not have been using that in the first place. Create your on implementation of IGuiHandler and register it with NetworkRegistry. Then you call player.openGui(...)- 1 slot inventory crashing in 1.11
You will have to recreate that functionality your self just add the getName and hasCustomName and setName methods to your TE and implement them how you would normally in the Block class and GUI.- [1.11] Help syncing custom boat
Yes you will have to check for the players movement keys and then send the data to your entity via a packet. - can someone help me make a render layer for a villager hood
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.