Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Mixin(PlayerEntity.class)
- public abstract class PlayerEntityMixin{
- private StellarPlayerEntity stellarPlayerEntity;
- @Unique
- public void setStellarPlayerEntity(StellarPlayerEntity customPlayerEntity) {
- this.stellarPlayerEntity = customPlayerEntity;
- }
- @Unique
- public StellarPlayerEntity getStellarPlayerEntity() {
- return this.stellarPlayerEntity;
- }
- @Unique
- public void increaseStrength(int amount) {
- this.stellarPlayerEntity.increaseStrength(amount);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement