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.

Featured Replies

Posted

QQ%E6%88%AA%E5%9B%BE20220102191455.png

 

block bench:

QQ%E6%88%AA%E5%9B%BE20220102191619.png

 

my entity model,export use java model

 

    private final ModelRenderer renderer;

    public SkyLanternModel() {
        texWidth = 16;
        texHeight = 16;

        renderer = new ModelRenderer(this);
        renderer.setPos(0.0F, 18.0F, 0.0F);
        renderer.texOffs(3, 3).addBox(-5.0F, -8.5F, -5.0F, 10.0F, 0.0F, 10.0F, 0.0F, false);
        renderer.texOffs(0, 25).addBox(-5.5F, -8.0F, -5.5F, 11.0F, 0.0F, 11.0F, 0.0F, false);
        renderer.texOffs(0, 0).addBox(-6.0F, -7.5F, -6.0F, 12.0F, 13.0F, 12.0F, 0.0F, false);
    }

    @Override
    public void setupAnim(Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw,
                          float headPitch) {
    }

    @Override
    public void renderToBuffer(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay,
                               float red, float green, float blue, float alpha) {
        renderer.render(matrixStack, buffer, packedLight, packedOverlay);
    }

    public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) {
        modelRenderer.xRot = x;
        modelRenderer.yRot = y;
        modelRenderer.zRot = z;
    }

 

There is a problem with his rendering, how to make it work

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.