Everything posted by Luis_ST
-
1.16.5 register custom ores
you never use your static field COPPER_ORE, it is still null in BiomeLoadingEvent
-
[1.17.1] Error when creating custom biome
why on earth are you creating a ResourceKey in BiomeLoadingEvent, you should use the Name you get from the Event and the Location of the ResourceKey (you can get it from ResourceKey#location) instead also is your FMLCommonSetupEvent fierd?
-
How can I render the custom entity so that it can hold objects in its hands?
MCreator is not supported on this Forum
-
How can I render the custom entity so that it can hold objects in its hands?
so you don't use MCreator for modding?
-
How can I render the custom entity so that it can hold objects in its hands?
did you use MCreator?
-
What if .get() doesnt work at snapshot 20210309-1.16.5?
post the error
-
Missing vanilla source files in project
forge use in 1.17 mojang mappings for classes and the packages, the entity package has been moved into the world package
-
How can I render the custom entity so that it can hold objects in its hands?
show more of your code 1 line doesn't help, since this line looks good for me also do you know basic java since the error should says whats wrong
-
What if .get() doesnt work at snapshot 20210309-1.16.5?
define "doesn't work"
-
[1.17.1] How to properly register/use ConfiguredFeature for modded Features
yes since BiomeManager#addAdditionalOverworldBiomes requierd that the Biome is registerd via the RegistryEvent or DeferredRegister yes and yes
-
[1.17.1] How to properly register/use ConfiguredFeature for modded Features
if you add the Biomes via json you need only need a ResourceKey if you want to add the Biome to the Overworld you still need a RegistryObject for more information about how to create a json Biome you can look here
-
[1.17.1] How to properly register/use ConfiguredFeature for modded Features
you need to use BiomeLoadingEvent to add custom features to Biomes if you not use json Biomes, since Features are registered after to Biomes
-
incompatible fml modded server and tearing my hair out. Forge 1.16.5 - 36.2.9
post screenshots of the mods folder form server and client
-
[1.17.1] How to properly register/use ConfiguredFeature for modded Features
you use the correct way to register CF, the code you post looks also okay can you post the the full debug log and the code where you add the CF to your custom Biome
-
How can I render the custom entity so that it can hold objects in its hands?
yes, i would also recommend you to follow the Java Naming Conventions
-
Issue/help on creating 4x4 crafting recipe (1.16.5)
post the full log, not only the stacktrace
-
How to generate a explorer map that points to a village in code?
you need to check if the World is an instance of ServerWorld first the you can cast the World like vanilla
-
How can I render the custom entity so that it can hold objects in its hands?
First of all do never use @OnlyIn since it is only for vanilla, second since you are creating a skeleton you can look at the vanilla skeleton renderer
-
[1.16.5] Detect block below entity
show your code
-
Certain Modded Structures fail to generate 1.16.5 forge
show your code
-
How can I render the custom entity so that it can hold objects in its hands?
post more of your code, i prefer a git repo
-
How can I render the custom entity so that it can hold objects in its hands?
this question is completely irrelevant, you could simply test it if it works it is done, if it doesn't work it's not done
-
How can I render the custom entity so that it can hold objects in its hands?
the ItemInHandLayer is called in 1.16.5 HeldItemLayer, everything else should be the same
-
[1.17.1] How to prevent lightning from creating fire
use LightningBolt#setVisualOnly with parm true, this will stop the LightningBolt for damage Entities and place Fire, after that you need to call the damge function manualy, something like: List<Entity> entities = lightningBolt.level.getEntities(this, new AABB(this.getX() - 3.0D, this.getY() - 3.0D, this.getZ() - 3.0D, this.getX() + 3.0D, this.getY() + 6.0D + 3.0D, this.getZ() + 3.0D), Entity::isAlive); for(Entity entity : entities) { if (!net.minecraftforge.event.ForgeEventFactory.onEntityStruckByLightning(entity, this)) entity.thunderHit((ServerLevel)lightningBolt.level, this); } }
-
How can I render the custom entity so that it can hold objects in its hands?
nop its for 1.17.1 but if you want to use this for 1.16.5, you need to search in your IDE for the class since it can be that the class name I gave you above is different (since 1.17 use mojang class names)
IPS spam blocked by CleanTalk.