Skip to content

Commit

Permalink
added temp methods to Material and AntimatterToolType till I updae gt…
Browse files Browse the repository at this point in the history
… core in gti and gt4r again
  • Loading branch information
Trinsdar committed Oct 21, 2023
1 parent 32cbdbe commit d469e3a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ public Material setMassMultiplierAndDivider(int massMultiplier, int massDivider)
return this;
}

@Deprecated
public Material setDisplayName(String displayNameString){
return setDisplayNameString(displayNameString);
}

public Material flags(IMaterialTag... tags) {
if (!enabled) return this;
for (IMaterialTag t : tags) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,16 @@ public AntimatterToolType setToolTip(Component... tooltip) {
return this;
}

@Deprecated
public AntimatterToolType setMaterialType(MaterialTypeItem<?> materialTypeItem){
return setMaterialTypeItem(materialTypeItem);
}

@Deprecated
public AntimatterToolType setRepairability(boolean repairable){
return setRepairable(repairable);
}

public AntimatterToolType setTag(AntimatterToolType tag) {
this.originalTag = false;
this.tag = tag.getTag();
Expand Down

0 comments on commit d469e3a

Please sign in to comment.