Everything posted by Draco18s
-
[1.12.2] Getting and setting the direction of any block with a PropertyDirection
You need to check that the property is equal to either BlockFacingHorizontal.FACING or BlockFacing.FACING
-
[1.14.3] Redstone textures
My mistake. I misunderstood what that event was for.
-
[1.14.3] Redstone textures
You should not need events in order to do things to your own blocks. IBlockColor should be able to do this
-
[1.14.3] How to add support for custom blocks to RedstoneDiodeBlock
Last time I messed with this the methods were hasComparatorInputOverride and getComparatorInputOverride. Check the chest, dispenser, and hopper for these methods. The latter takes a World, BlockPos, and IBlockState parameters and returns an int. Look also for Container.calcRedstoneFromInventory
-
[1.12.2] How do I make a entity when touching water stops.
I am not understanding your question, your grammar is missing key words that would clarify your post. For example: "does stop" doing what?
-
I need help with a simple thing.
That would be stored in the block state. I'm sure a method called getValue will be of use.
-
[1.12.2] how to add lore to an item
You haven't imported the class. Fix this and the other errors will probably go away.
-
Issues with item sizing
Stop. 1) MCreator is awful and terrible and bad and coded poorly and its results reflect that 2) MCreator is not Forge so why the hell are you asking us?
-
I need help with a simple thing.
event.getBlockState().getBlock() == Blocks.WHEAT
-
[SOLVED, BIG MISTAKE] Help with StringUtils
Perfect, thanks. Was just curious what he was using that method for, and it looks fine. Not what I would do, but it looks fine. Mind, there still may be things he isn't doing in an acceptable manner, but I don't have time to go through all his videos trying to find them.
-
[1.12.2] Place a block using code
We need to see more code. Namely: - Where you are calling this code - What parameters you are passing
-
[SOLVED, BIG MISTAKE] Help with StringUtils
Which video? Your link goes to the playlist which starts on episode 1. I'd like to see what he's doing and if he's doing something wrong or something that's bad practice, I'd like to let him know.
-
1.7.10 Forge runs badly?
1.7.10 is no longer supported here. Also, as a mod-user not a mod-maker, you should be over in Support & Bug Reports.
-
cry
Its called "container item" because the item "minecraft:bucket" contains "minecraft:milk" so when you remove the "minecraft:milk" from the "minecraft:milk_bucket" you're left with the container item: "minecraft:bucket" So d7 knows what he's talking about here.
-
Missing metadata
Also, one thing doesn't look like another. I.e. compare the screenshot you shared with the toml file contents.
-
[1.14.3] Unrecognized textures and recipes
Show a screenshot of your textures directory including full path.
-
[1.13.2] Block Model texture colour
I believe you're looking for the IBlockColor interface.
-
1.14.3 Tags help
I'm not sure fences connect based on tags, but I haven't looked at it.
-
1.14.3 Tags help
The Ore Dict system was designed so that multiple mods that added "copper" could all use each other's ingots in their recipes (because why would IC2's copper not work in Thaumcraft?). But this got extended to wood, so that oak, birth, spruce, pine, redwood, willow, ceder, fir, etc. into "wood" for recipes that just wanted "wood." And it mutated from there. Different kinds of "sticks" or "seeds" or "wheat" or "corn" or any other thing you could ever want that someone else might've already made and you want to insure compatibility.
-
1.14.3 Tags help
You know what the Ore Dictionary is? Yes: congrats, now you understand tags No: go look it up Tags is, just about, the vanilla implementation of the Ore Dictionary system
-
[1.13.2] Block Model texture colour
Do what, exactly? You've said that you have X working and that you don't know how to do Y, but haven't said what Y is
-
[1.13.2] Block Model texture colour
Ok...so what's the problem?
-
[1.12.2] Problem with Directional Block with TileEntity
You need to register your TileEntity.
-
[1.14.3] Looking for what replaced tick in Block.class
ticksExisted is a field that stores the number of ticks the entity has existed. It's...pretty self-documenting.
-
[1.14.3] Looking for what replaced tick in Block.class
Yes. It is the % operator. Crops aren't entities, they're blocks. Plants are also crops and also blocks. In this case you can use the Player as the entity in question.
IPS spam blocked by CleanTalk.