Everything posted by Draco18s
-
Executing command added on the client side with send message
Why do you need to run the command? Why not run the code that the command commands directly?
-
How to deal with items that can take more than 65536 damage
You have to use NBT for numbers that large.
-
1.12 Multiple blocks using same BlockState
I can tell you that it works in 1.12, as I'm using it.
-
1.12 Multiple blocks using same BlockState
So. In other words. Recreating metadata. I suppose you could do this by using a custom IStateMapper
-
1.12 Multiple blocks using same BlockState
Considering that the blockstate file dictates model and/or textures, if you were to use the same blockstate file, then the blocks would have the same texture. You're literally asking to do something that can't be done because you want things to look different, but use the same data that defines their looks.
-
1.12 Multiple blocks using same BlockState
Those blocks will have the same class, same properties, and different blockstate files, which will reference different textures.
-
1.12 Multiple blocks using same BlockState
IBlockState is a Block/Metadata combo. So if you have a new block, it will have its own block states. Please clarify.
-
Timer for mod - PLZ HELP
10 minutes is not 200 ticks, its 12000.
-
Help Changing the Player DisplayName Not Working Fully
- Opening ender chest gui causes ghost items. [1.12]
It is, but containers (chests, things that hold an inventory) hold their items on the server, and for the game to synchronize what you're doing in the client-side-gui with the server, the server has to know that you're interacting with that container. So you open the "gui" on the server. What actually happens is that the server goes "cool, got the container, sending a packet to the client to open the actual gui, and maintain synchronization."- [1.12.2] dimension problems
Create everything (calling new) in your PreinitializationEvent method.- Test for player armor
What if they are wearing only a chestplate? Is the list still 4 items long? Are the items in the right order? if(armor.get(0) == narmor.get(3)) This will never be true. You should be using EntityPlayer#getItemStackFromSlot(EntityEquipmentSlot)- Test for player armor
If you have a reference to the player, check their equipment slots. There are four of them.- oredict/macerator recipe?
You need to use their API.- [1.12.2] Help rotating block
This is over-engineered. The check for the Axis being Y and setting the facing to North isn't really needed. The only way this could ever happen is if you used external tools to force the block metadata to be something other than what the allowable states are. Use EnumFacing.getHorizontal(meta) instead. This is likewise over-engineered copy paste "I don't know what the fuck I'm doing" garbage. You created a local facing variable and then don't even use it. You even cast the property to an EnumFacing (why?) and use getIndex, which is wrong. No wonder you have to fix things with the getAxis == Y.... return state.getValue(BlockHorizontal.FACING).getHorizontalIndex();- Non-Square multiblock
Pretty much. You can use blockstates to determine which textures to show, and have some manner by which you detect that the multiblock is complete. Usually a central block that looks at the other positions around itself and if it finds them all, it says "hooray!" and the structure is built. Then when any of the blocks is broken, alert the central one and say "recheck!"- Non-Square multiblock
You cannot do this. If it was even allowed, programmatically (it is not), it would play havoc on the AI pathfinding and "can the entity be here" checks.- Could someone help me with this crash report? (happens only when i try to enter my modded server)
And you're in the wrong forum, you should be posting in Support & Bug Reports.- Help! about PlayerEvent
- [1.12.2] dimension problems
They are functionally identical. Pick a place to put your registration handler functions, where ever sounds good to you. And what tutorial was it? I would like to go tell the author they're being dumb.- [1.12.2] Commands appear not to register, not recognized in game
Do you need help with that error, or not?- Crashes outside of Development Environment
How did you compile your mod into a jar file?- Particles with BlockCrops
Show your code that you tried.- [1.12.2] dimension problems
Why do you have this: https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/RegistrationHandler.java#L22 AND this? https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/JourneyItems.java#L844 In any case, I suspect that your DimensionHelper.init() is being called before your Blocks are created. But as fucking everything is using static initializers, I can't prove it. See also:- [1.12.2] dimension problems
You're going to need to supply more code. I recommend posting your project as a git repository. - Opening ender chest gui causes ghost items. [1.12]
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.