Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Jose3T5

Members
  • Joined

  • Last visited

  1. If a little of what I did there, I got it from MCreator
  2. renderer : package net.mcreator.additionaladventure.entity.renderer; import net.minecraftforge.fml.client.registry.RenderingRegistry; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.client.event.ModelRegistryEvent; import net.minecraft.util.math.MathHelper; import net.minecraft.util.ResourceLocation; import net.minecraft.entity.Entity; import net.minecraft.client.renderer.model.ModelRenderer; import net.minecraft.client.renderer.entity.model.EntityModel; import net.minecraft.client.renderer.entity.layers.HeldItemLayer; import net.minecraft.client.renderer.entity.MobRenderer; import net.minecraft.client.renderer.entity.EntityRendererManager; import net.mcreator.additionaladventure.entity.SkySkeletonEntity; import com.mojang.blaze3d.vertex.IVertexBuilder; import com.mojang.blaze3d.matrix.MatrixStack; public class SkySkeletonRenderer { public static class ModelRegisterHandler { @SubscribeEvent public void registerModels(ModelRegistryEvent event) { RenderingRegistry.registerEntityRenderingHandler(SkySkeletonEntity.entity, renderManager -> { return new MobRenderer(renderManager, new Modelcustom_model(), 0.5f) { @Override public ResourceLocation getEntityTexture(Entity entity) { return new ResourceLocation("additional_adventure:textures/esqueletodelcielo.png"); } public SkySkeletonRenderer(EntityRendererManager renderManagerIn) { super(renderManagerIn, new Modelcustom_model<>, 0.5F); this.addLayer(new HeldItemLayer(this)); } }; }); } } Error 1 : Description Resource Path Location Type Cannot infer type argument(s) for <T> registerEntityRenderingHandler(EntityType<T>, IRenderFactory<? super T>) SkySkeletonRenderer.java /additional_adventure/src/main/java/net/mcreator/additionaladventure/entity/renderer line 1 Java Problem Error 2 : Description Resource Path Location Type Constructor call must be the first statement in a constructor SkySkeletonRenderer.java /additional_adventure/src/main/java/net/mcreator/additionaladventure/entity/renderer line 1 Java Problem Error 3 :Description Resource Path Location Type Syntax error, insert "( )" to complete Expression SkySkeletonRenderer.java /additional_adventure/src/main/java/net/mcreator/additionaladventure/entity/renderer line 32 Java Problem Please help me fix this.
  3. How could i solve it ? It says the error is this: public SkySkeletonRenderer(EntityRendererManager renderManagerIn) {
  4. the error says : Description Resource Path Location Type Return type for the method is missing SkySkeletonRenderer.java
  5. @OnlyIn delete it? Or do I have to add something?
  6. Entity Renderer : https://pastebin.com/TJYZyWdf
  7. I was just wondering, it doesn't work, so how would it be for the entity to be able to hold objects in its hands
  8. I did it again It's well done? public EsqueletoDelCieloRenderer(EntityRendererManager renderManagerIn) { super(renderManagerIn, new Modelcustom_model<>(), 0.5F); this.addLayer(new HeldItemLayer(this)); }
  9. The ItemInHandLayer I put it in the entity rendering
  10. But new HandLayers(this) That is already in : public EsqueletoDelCieloRenderer(EntityRendererManager renderManagerIn) { super(renderManagerIn, new ModelSkeletonModel<>(), 0.5F); this.addLayer(new HandLayers(this)); }

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.