Everything posted by Draco18s
-
[1.12.1] Canceled PlaceEvent removes block from inventory
Yeah. Exactly. That's what we keep telling you: the server tracks everything and you have to synchronize what you do with the client. You can't just cancel the event on one side. If it only happens on one side you need to synchronize the effects.
-
[1.10.2] Filled Universal Bucket as Item
No, that's the beginning of cargo cult programming. True understanding comes from looking at what is already available. You say you want to look at what we did, but how about you look at what Mojang did first?
-
[Solved]Flowing Fluid To Still Fluid For buckets
https://en.wikipedia.org/w/index.php?title=Fallow
-
[1.10.2] Tank will not keep data when harvested
Notice that ITileEntityProivder methods use metadata while the methods in the Block class (added by Forge) use IBlockState
-
Rendering rotating content in FastTESR
Make the non-moving part a standard block model. Make the moving part (and only the moving part) a TESR. I believe that FastTESR is sufficient, I am not current on that knowledge on account of having not needed a TESR at all in some time.
-
[1.12.1] Canceled PlaceEvent removes block from inventory
Why wouldn't you sync the config file?
-
[1.12] Orient Spawned Throwable Entity
You have to get the baked model for it. I know I've seen posts about it here, but I can't find them now. You're looking for "item quads" "render item on block" "baked quads" etc. with respect to 1.10 and newer and without a TESR.
-
[1.12] Orient Spawned Throwable Entity
The box has thickness, but it's using the same texture it has been given for the front face, which is either: a) rendering the left most edge of pixels b) rendering the whole things squashed down to a narrow "thing" If you want to render the "edge" pixels like you see when holding an item, you need to render that item's model, which is wholly different than the snowball renderer (which was designed to always face the camera and have no thickness).
-
[1.12.1]Inventory vs container
The two classes are not even remotely similar. IInventory / InventoryBasic is the actual inventory of the whatever. (Note: you should be using the ItemStackHandler capability, not IInventory) Container class is the server side object that manages synchronizing the inventory when the client is looking at it. A GuiContainer class is the client side object that manages synchronizing the inventory when the client is looking at it (as well as displaying it).
-
[1.12.1] Canceled PlaceEvent removes block from inventory
- [1.12.1] Canceled PlaceEvent removes block from inventory
You need to synchronize the config files.- SetHarvestLevel
What Material is your block? The harvest level isn't used for certain always-harvestable materials (like Circuits).- [Solved]Flowing Fluid To Still Fluid For buckets
Let me rewrite this into English: Example: I have flowing_water in a Forge event. How do I get still_water?- Conditional crafting recipes?
Yes, see Choonster's TestMod3- [Solved]Letting Client Player know It Needs to read NBT
Ah, good old http://xyproblem.info/- Creating Custom Event 1.10
http://mcforge.readthedocs.io/en/latest/forgedev/- How to get a spawn egg as item?
Completely breaks the minecraft aesthetic.- damagedBlocks field was changed?
https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/EasyRegistry.java#L212 Or you could look at the method signature of the method: public static Method findMethod(@Nonnull Class<?> clazz, @Nonnull String methodName, @Nullable String methodObfName, Class<?>... parameterTypes) "Method Name" "Method Obf Name" Couldn't be more obvious.- Creating Custom Event 1.10
- How to rotate OBJ around specific point always?
So I grabbed the first link on google for what I knew existed. 9.9- How to get a spawn egg as item?
Why does its inventory icon look rotated?- [1.12] new registry system example / tutorial
https://github.com/KombatKitten/Collision/tree/Forums-Question/src/main/resources/assets/dimensional_magic/lang Your langfile is incorrectly named. It should be en_us.lang (all lower case).- How to rotate OBJ around specific point always?
Cough: http://mod-minecraft.net/iron-chests-mod/ In order to rotate around a point you need to translate to the origin by that point's offset from the origin, then rotate, then translate back.- [1.12] new registry system example / tutorial
Ah ha. I still have trouble spotting this even though I know to look for it.- How to get a spawn egg as item?
Yes, it's an ItemStack(SpawnEgg) with NBT data indicating what entity to spawn. - [1.12.1] Canceled PlaceEvent removes block from inventory
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.