Skip to content

Commit

Permalink
Remove last traces of IBurnableBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
Roadhog360 committed May 15, 2021
1 parent 40e4ec7 commit b94dbf6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/main/java/ganymedes01/etfuturum/ModBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,23 +238,11 @@ public static void init() {
GameRegistry.registerBlock(block, ((ISubBlocksBlock) block).getItemBlockClass(), strings[strings.length - 1]);
else
GameRegistry.registerBlock(block, strings[strings.length - 1]);
// This Interface does not make sense as nobody uses FireInfo to see what is Flammable and what isn't. There is actual Functions in Block that can override Flammability and I did that for all things that implemented this Interface.
// if (block instanceof IBurnableBlock) {
// ImmutablePair i = ((IBurnableBlock) block).getFireInfo();
// if(i != null)
// Blocks.fire.setFireInfo(block, (Integer)i.getLeft(), (Integer)i.getRight());
// }
}
}
}

public static interface ISubBlocksBlock {
Class<? extends ItemBlock> getItemBlockClass();
}

@Deprecated
public static interface IBurnableBlock {
@Deprecated
ImmutablePair getFireInfo();
}
}

0 comments on commit b94dbf6

Please sign in to comment.