Advertisement
flidiii

Untitled

Mar 20th, 2025
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.53 KB | None | 0 0
  1. @Mixin(PlayerEntity.class)
  2. public abstract class PlayerEntityMixin{
  3.     private StellarPlayerEntity stellarPlayerEntity;
  4.  
  5.     @Unique
  6.     public void setStellarPlayerEntity(StellarPlayerEntity customPlayerEntity) {
  7.         this.stellarPlayerEntity = customPlayerEntity;
  8.     }
  9.  
  10.     @Unique
  11.     public StellarPlayerEntity getStellarPlayerEntity() {
  12.         return this.stellarPlayerEntity;
  13.     }
  14.  
  15.     @Unique
  16.     public void increaseStrength(int amount) {
  17.         this.stellarPlayerEntity.increaseStrength(amount);
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement