Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.14.4] Class Transformer
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 0
wilpito

[1.14.4] Class Transformer

By wilpito, October 13 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

wilpito    0

wilpito

wilpito    0

  • Tree Puncher
  • wilpito
  • Members
  • 0
  • 4 posts
Posted October 13

I need to modify two original Minecraft-Classes for inserting special functionality. 

 

In Version 1.12 i've had a possibility to change original Minecraft classes by Classtransformer. Therfor i've had 2 CLasses: 

* public class CBClassTransformer implements IClassTransformer

* public class CBFMLLoadingPlugin implements IFMLLoadingPlugin

 

Is there any Possibility to do the same in 1.14.4.

Can somebody help me.   

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6667

diesieben07

diesieben07    6667

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6667
  • 45570 posts
Posted October 13

Coremods are written using Javascript now.

Why are you writing a coremod?

  • Quote

Share this post


Link to post
Share on other sites

wilpito    0

wilpito

wilpito    0

  • Tree Puncher
  • wilpito
  • Members
  • 0
  • 4 posts
Posted October 14

In this time i need to change the Fire Blocks. when burning on my oil block.  Oil is a Block with different Hight between 2 Pixel and 16 Pixel for a full block. When Oil is Burning on each Burn Step block will be reduced by 2 Pixles in High. I want that the fire Block begins just on top of the Oi and slide down when oil Leve is reduced. The second problem is, that oil is not a full Block. The standard mechanismen at Chatch Fire only works, when Block is Solid at Upside.

 

Ive tested with replacing fireBlock at BlockTick, but there is an small error in Fire Block. It might be possible that my Oil Block is replaced with Fire instead of starting Burn on Block above of my Block.

 

 

Do you have souch a Java Script for me, so i can test with replacing the Fire Block in my Mod.

 

 

 

 

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6667

diesieben07

diesieben07    6667

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6667
  • 45570 posts
Posted October 14

Neither of these require a coremod. If IForgeBlock#isFlammable returns true for your block, and it's below fire, it does not need to have a solid top side for it to support the fire.

As for the fire showing in your block space, you have to do that within your own block model.

  • Quote

Share this post


Link to post
Share on other sites

wilpito    0

wilpito

wilpito    0

  • Tree Puncher
  • wilpito
  • Members
  • 0
  • 4 posts
Posted October 17

I Think i need a Coremod, because Fire Block in Forge has an Error and my Block will be replaced with the fire Block instead of catching Fire. 

I Found a Possibility to do this:

   I Use original Class bow ( = FireBlock) and manipulate this class without obofuscuate the block. This is a little bit tricky.After manipulating the class i can replace te bow.class by programm in .Minecraft... 

  Is there an other way? Do somebody now an program to reobofuscuate the Class instead of programming obofuscuated code in 1.14.4.

 

Thanks for your help. 

 

  • Quote

Share this post


Link to post
Share on other sites

DaemonUmbra    354

DaemonUmbra

DaemonUmbra    354

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 354
  • 6340 posts
Posted October 17

This is sounding like you want your block to sustain fire but not be consumed by fire.

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Kangoro
      Mc Forge 1.14.4

      By Kangoro · Posted 2 minutes ago

      Where do I find it?
    • thedarkcolour
      [1.14] Patching method with coremod in TreeFeature causes IncompatibleClassChangeError

      By thedarkcolour · Posted 14 minutes ago

      Now it just freezes with no error at all.
    • thedarkcolour
      [1.14] Patching method with coremod in TreeFeature causes IncompatibleClassChangeError

      By thedarkcolour · Posted 15 minutes ago

      I just realized what I've done. I forgot to make the BeeNestGenerator method static. I'll check if that fixes it.
    • thedarkcolour
      [1.14] Patching method with coremod in TreeFeature causes IncompatibleClassChangeError

      By thedarkcolour · Posted 19 minutes ago

      BeeNestGenerator class
    • diesieben07
      1.89 crash forge

      By diesieben07 · Posted 1 hour ago

      1.8.9 is no longer supported on this forum due to it's age. Update to a modern version of Minecraft to receive support.
  • Topics

    • Kangoro
      4
      Mc Forge 1.14.4

      By Kangoro
      Started 23 hours ago

    • thedarkcolour
      13
      [1.14] Patching method with coremod in TreeFeature causes IncompatibleClassChangeError

      By thedarkcolour
      Started 10 hours ago

    • Pixelboss4d
      2
      1.89 crash forge

      By Pixelboss4d
      Started 1 hour ago

    • Junior240
      4
      I'm having trouble with Java on !MAC!

      By Junior240
      Started November 9

    • Cerandior
      10
      [1.14.4] [Solved] Trouble With Packets

      By Cerandior
      Started Yesterday at 03:20 PM

  • Who's Online (See full list)

    • Kangoro
    • Ronaldi2001
    • loordgek
    • thedarkcolour
    • imacatlolol
    • Choco
    • potatoking
    • Cerandior
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.14.4] Class Transformer
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community