--- a/net/minecraft/world/entity/ai/behavior/BehaviorWorkComposter.java
+++ b/net/minecraft/world/entity/ai/behavior/BehaviorWorkComposter.java
@@ -23,7 +23,7 @@
     public BehaviorWorkComposter() {}
 
     @Override
-    protected void a(WorldServer worldserver, EntityVillager entityvillager) {
+    protected void doWork(WorldServer worldserver, EntityVillager entityvillager) { // PAIL
         Optional<GlobalPos> optional = entityvillager.getBehaviorController().getMemory(MemoryModuleType.JOB_SITE);
 
         if (optional.isPresent()) {
@@ -42,7 +42,7 @@
         BlockPosition blockposition = globalpos.getBlockPosition();
 
         if ((Integer) iblockdata.get(BlockComposter.LEVEL) == 8) {
-            iblockdata = BlockComposter.d(iblockdata, worldserver, blockposition);
+            iblockdata = BlockComposter.d(iblockdata, worldserver, blockposition, entityvillager); // CraftBukkit
         }
 
         int i = 20;
@@ -67,7 +67,7 @@
                     i -= k1;
 
                     for (int l1 = 0; l1 < k1; ++l1) {
-                        iblockdata1 = BlockComposter.a(iblockdata1, worldserver, itemstack, blockposition);
+                        iblockdata1 = BlockComposter.a(iblockdata1, worldserver, itemstack, blockposition, entityvillager); // CraftBukkit
                         if ((Integer) iblockdata1.get(BlockComposter.LEVEL) == 7) {
                             this.a(worldserver, iblockdata, blockposition, iblockdata1);
                             return;
