-
[1.14.2] How to check for filler block in the End
In your OreGeneration class, add a field that holds your own feature instance private static final YourOreFeature END_OREGEN = new YourOreFeature(); And then use that instead of Feature.ORE like this: Biomes.THE_END.addFeature(GenerationStage.Decoration.UNDERGROUND_DECORATION, Biome.createDecoratedFeature(END_OREGEN, new OreFeatureConfig( ...
-
[1.14.2] How to check for filler block in the End
p_207803_1_ is worldIn now, so if (worldIn.getBlockState(blockpos$mutableblockpos).getBlock() == Blocks.END_STONE) should work
-
[1.14.2] How to check for filler block in the End
Instead of Feature.ORE pass in an instance of your own ore feature class.
-
[1.14.2] MC Source Obfuscation
I have never used NetBeans before, so no idea how source attachments work there. However, there should be some way to specify the location of the sources. The file is called something like forge-1.14.2-26.0.13_mapped_snapshot_20190609-1.14.2-sources.jar Anyway, I recommend using an IDE with gradle integration (for example IntelliJ), because it can automatically attach the sources.
-
[1.14.2] How to check for filler block in the End
Unfortunately, because FillerBlockType is an Enum, the only way to do this at the moment (or at least the only one I know) is to create your own class extending OreFeature Then override func_207803_a copy it and in there, replace if (p_207803_3_.target.func_214738_b().test(p_207803_1_.getBlockState(blockpos$mutableblockpos))) { ... with something that checks for end stone, or whatever your ore should spawn in, like this: if (p_207803_1_.getBlockState(blockpos$mutableblockpos).getBlock() == Blocks.END_STONE) { ...
-
[1.14.2] MC Source Obfuscation
1. Normally you should never need to open a .class file, only .java files. 2. How did you setup your workspace, what IDE are you using?
-
[1.14.2] MC Source Obfuscation
What do you mean by "compiled" code? The java bytecode? Why?
-
[1.14.2] MC Source Obfuscation
Update to 1.14.3 and use the latest mcp snapshot to get up to date mappings. Also, it takes time until all the fields and methods get named, 1.14 is relatively new. Edit: And yes, Forge still uses MCP internally to provide names in development environment.
-
m00nl1ght changed their profile photo
-
Change forge library path
Just add -g /.gradle to your gradle command, for example gradlew setupDecompWorkspace -g /.gradle
-
An internal error occurred during: "Launching Client". null argument:
After running gradlew setupDecompWorkspace you need to run gradlew eclipse to prepare the eclipse project.
-
[1.12.2] Tileentity unable to be created
You need an empty constructor in your TileEntity class. You currently only have public TileEntityNetIn(int maxTransfer) { this.maxTrans = maxTransfer; } just add public TileEntityNetIn() { }
-
[1.9.4] Creating Advanced GUI with ListBox
I created a simple GuiList for my mod some time ago, it is based on the vanilla Gui classes. Maybe it helps. github
-
Get's nickname of a player
1. What do you mean by "using the command"? Are you trying to create a command? 2. What do you mean by "a player who hits with his hand"? A player who is interacting with something? Please explain what you are trying to archieve.
-
Is there a way to verify client-side mods from server-side by using JAR signing?
https://mcforge.readthedocs.io/en/latest/concepts/jarsigning/
-
Event That Fired When the Player Pickups An Arrow From Ground?
You could create a pull request on Forge's github if you really need this hook/event. Here you can find information about pull requests.
IPS spam blocked by CleanTalk.